File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -27,13 +27,12 @@ def test_delete_tree():
27
27
28
28
@staticmethod
29
29
def test_stepwise_delete ():
30
- assert_false (dj .config ['safemode' ], 'safemode must be off for testing' )
31
- assert_true (L () and A () and B () and B .C (),
32
- 'schema population failed as a precondition to test' )
30
+ assert not dj .config ['safemode' ], 'safemode must be off for testing'
31
+ assert L () and A () and B () and B .C (), 'schema population failed'
33
32
B .C ().delete (force = True )
34
- assert_false ( B .C (), 'failed to delete child tables' )
33
+ assert not B .C (), 'failed to delete child tables'
35
34
B ().delete ()
36
- assert_false ( B (), 'failed to delete the parent table following child table deletion' )
35
+ assert not B (), 'failed to delete from the parent table following child table deletion'
37
36
38
37
@staticmethod
39
38
def test_delete_tree_restricted ():
You can’t perform that action at this time.
0 commit comments