Show More
@@ -44,9 +44,9 b' def test_deepreload():' | |||||
44 | # Test that A is not reloaded. |
|
44 | # Test that A is not reloaded. | |
45 | obj = A.Object() |
|
45 | obj = A.Object() | |
46 | dreload(B, exclude=['A']) |
|
46 | dreload(B, exclude=['A']) | |
47 |
nt.assert_is |
|
47 | nt.assert_true(isinstance(obj, A.Object)) | |
48 |
|
48 | |||
49 | # Test that A is reloaded. |
|
49 | # Test that A is reloaded. | |
50 | obj = A.Object() |
|
50 | obj = A.Object() | |
51 | dreload(B) |
|
51 | dreload(B) | |
52 |
nt.assert_ |
|
52 | nt.assert_false(isinstance(obj, A.Object)) |
General Comments 0
You need to be logged in to leave comments.
Login now