Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
snf-ganeti
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
itminedu
snf-ganeti
Commits
9cd372ad
Commit
9cd372ad
authored
17 years ago
by
Michael Hanselmann
Browse files
Options
Downloads
Patches
Plain Diff
Fix unittests broken by revision 360.
Reviewed-by: schreiberal
parent
1e020d1b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/ganeti.utils_unittest.py
+2
-2
2 additions, 2 deletions
test/ganeti.utils_unittest.py
with
2 additions
and
2 deletions
test/ganeti.utils_unittest.py
+
2
−
2
View file @
9cd372ad
...
@@ -455,7 +455,7 @@ class TestEtcHosts(unittest.TestCase):
...
@@ -455,7 +455,7 @@ class TestEtcHosts(unittest.TestCase):
f
=
open
(
tmpname
,
'
r
'
)
f
=
open
(
tmpname
,
'
r
'
)
try
:
try
:
self
.
assertEqual
(
md5
.
new
(
f
.
read
(
8192
)).
hexdigest
(),
self
.
assertEqual
(
md5
.
new
(
f
.
read
(
8192
)).
hexdigest
(),
'
410c141dcafffd505f662a41713d2ea
b
'
)
'
284c3454c158d4c4284eeb59910ab00
b
'
)
finally
:
finally
:
f
.
close
()
f
.
close
()
finally
:
finally
:
...
@@ -469,7 +469,7 @@ class TestEtcHosts(unittest.TestCase):
...
@@ -469,7 +469,7 @@ class TestEtcHosts(unittest.TestCase):
f
=
open
(
tmpname
,
'
r
'
)
f
=
open
(
tmpname
,
'
r
'
)
try
:
try
:
self
.
assertEqual
(
md5
.
new
(
f
.
read
(
8192
)).
hexdigest
(),
self
.
assertEqual
(
md5
.
new
(
f
.
read
(
8192
)).
hexdigest
(),
'
bbf60c542dec949f3968b59522ec0d7b
'
)
'
1486c19f1fcb626f893c243e3ce38c8d
'
)
finally
:
finally
:
f
.
close
()
f
.
close
()
finally
:
finally
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment