Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE3
/
vmdriver
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
944637c9
authored
Jun 27, 2022
by
Karsa Zoltán István
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix vmdriver test
parent
b036bf5b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
tests/test.py
+3
-0
vm.py
+2
-0
No files found.
tests/test.py
View file @
944637c9
#!/usr/bin/env python
import
os
os
.
environ
.
setdefault
(
"LIBVIRT_TEST"
,
"True"
)
import
vm
import
vmdriver
# import logging
...
...
vm.py
View file @
944637c9
...
...
@@ -192,6 +192,7 @@ class VMDisk:
target_device
=
None
def
__init__
(
self
,
name
,
source
,
disk_type
=
"file"
,
disk_device
=
"disk"
,
...
...
@@ -200,6 +201,7 @@ class VMDisk:
driver_cache
=
"none"
,
target_device
=
"vda"
,
target_bus
=
"virtio"
):
self
.
name
=
name
self
.
source
=
source
self
.
disk_type
=
disk_type
self
.
disk_device
=
disk_device
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment