Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
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
Show 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