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():
2727
2828 @staticmethod
2929 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'
3332 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'
3534 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'
3736
3837 @staticmethod
3938 def test_delete_tree_restricted():
You can’t perform that action at this time.
0 commit comments