Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gutyán Gábor
/
circlestack
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
Commit
6edddd59
authored
Mar 20, 2014
by
Guba Sándor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
storage: updated tests
parent
19ca28b9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
circle/storage/tests/test_models.py
+5
-1
No files found.
circle/storage/tests/test_models.py
View file @
6edddd59
...
...
@@ -29,7 +29,7 @@ class DiskTestCase(TestCase):
def
test_deletable_newly_destroyed
(
self
):
d
=
self
.
_disk
(
destroyed
=
new
)
assert
not
d
.
is_deletable
assert
d
.
is_deletable
def
test_deletable_no_child
(
self
):
d
=
self
.
_disk
(
destroyed
=
old
)
...
...
@@ -46,3 +46,7 @@ class DiskTestCase(TestCase):
self
.
_disk
(
base
=
d
,
destroyed
=
new
)
self
.
_disk
(
base
=
d
)
assert
not
d
.
is_deletable
def
test_undeployed_disk_ready
(
self
):
d
=
self
.
_disk
()
assert
not
d
.
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