File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -35,20 +35,11 @@ def test_stepwise_delete():
35
35
B ().delete ()
36
36
assert_false (B (), 'failed to delete the parent table following child table deletion' )
37
37
38
- @staticmethod
39
- def test_stepwise_delete ():
40
- assert_false (dj .config ['safemode' ], 'safemode must be off for testing' )
41
- assert_true (L () and A () and B () and B .C (),
42
- 'schema population failed as a precondition to test' )
43
- B .C ().delete (force = True )
44
- assert_false (B .C (), 'failed to delete child tables' )
45
- B ().delete ()
46
- assert_false (B (), 'failed to delete the parent table following child table deletion' )
47
-
48
38
@staticmethod
49
39
def test_delete_tree_restricted ():
50
40
assert_false (dj .config ['safemode' ], 'safemode must be off for testing' )
51
- assert_true (L () and A () and B () and B .C () and D () and E () and E .F (), 'schema is not populated' )
41
+ assert_true (L () and A () and B () and B .C () and D () and E () and E .F (),
42
+ 'schema is not populated' )
52
43
cond = 'cond_in_a'
53
44
rel = A () & cond
54
45
rest = dict (
You can’t perform that action at this time.
0 commit comments