Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9e5265b4
authored
Apr 16, 2014
by
Guba Sándor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: updated tests
parent
5ae35aa2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
circle/storage/tests/test_models.py
+2
-2
No files found.
circle/storage/tests/test_models.py
View file @
9e5265b4
...
@@ -78,7 +78,7 @@ class DiskTestCase(TestCase):
...
@@ -78,7 +78,7 @@ class DiskTestCase(TestCase):
d
.
DiskIsNotReady
=
MockException
d
.
DiskIsNotReady
=
MockException
d
.
type
=
"qcow2-norm"
d
.
type
=
"qcow2-norm"
d
.
is_in_use
=
False
d
.
is_in_use
=
False
d
.
ready
=
False
d
.
is_
ready
=
False
with
self
.
assertRaises
(
MockException
):
with
self
.
assertRaises
(
MockException
):
Disk
.
save_as
(
d
)
Disk
.
save_as
(
d
)
...
@@ -89,4 +89,4 @@ class DiskTestCase(TestCase):
...
@@ -89,4 +89,4 @@ class DiskTestCase(TestCase):
def
test_undeployed_disk_ready
(
self
):
def
test_undeployed_disk_ready
(
self
):
d
=
self
.
_disk
()
d
=
self
.
_disk
()
assert
not
d
.
ready
assert
not
d
.
is_
ready
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