Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
107
Merge Requests
107
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
57f128b5
Commit
57f128b5
authored
Feb 07, 2020
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/kvm/test: python3 compatibility
parent
0c942fce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
software/kvm/test/test.py
software/kvm/test/test.py
+3
-3
No files found.
software/kvm/test/test.py
View file @
57f128b5
...
...
@@ -25,7 +25,7 @@
#
##############################################################################
import
httplib
import
six.moves.http_client
as
httplib
import
json
import
os
import
re
...
...
@@ -33,7 +33,7 @@ import requests
import
slapos.util
import
subprocess
import
sqlite3
import
urlparse
import
six.moves.urllib.parse
as
urlparse
import
unittest
from
slapos.recipe.librecipe
import
generateHashFromFiles
...
...
@@ -42,7 +42,7 @@ from slapos.testing.testcase import makeModuleSetUpAndTestCaseClass
def
sanityCheck
():
try
:
output
=
subprocess
.
check_output
(
"lsmod | grep kvm_intel"
,
shell
=
True
)
output
=
subprocess
.
check_output
(
"lsmod | grep kvm_intel"
,
shell
=
True
,
universal_newlines
=
True
)
except
subprocess
.
CalledProcessError
as
e
:
state
=
False
output
=
e
.
output
...
...
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