Skip to content

Commit c81f366

Browse files
committed
issue #590: whoops, import missing test modules
1 parent f26a00d commit c81f366

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# #590: a subpackage that turns itself into a module from elsewhere on sys.path.
2+
I_AM = "the subpackage that was replaced with a system module"
3+
import sys
4+
import system_distro
5+
sys.modules[__name__] = system_distro
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
I_AM = "the module inside the replaced subpackage"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# #590: a system module that replaces some subpackage
2+
I_AM = "the system module that replaced the subpackage"

tests/responder_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ def test_ansible_six_messed_up_path(self):
159159

160160
self.assertEquals(1, responder.get_module_count)
161161
self.assertEquals(1, responder.good_load_module_count)
162-
self.assertEquals(7642, responder.good_load_module_size)
163162
self.assertEquals(0, responder.bad_load_module_count)
164163

165164
call = router._async_route.mock_calls[0]

0 commit comments

Comments
 (0)