Fix TypeError while initiliazing ImporterMixin

Since f44356af32 mitogen.core.Importer()
takes a Router instance.
pull/82/head
Alex Willmer 7 years ago
parent 8121530144
commit 83c0111b51

@ -18,7 +18,7 @@ class ImporterMixin(testlib.RouterMixin):
def setUp(self):
super(ImporterMixin, self).setUp()
self.context = mock.Mock()
self.importer = mitogen.core.Importer(self.context, '')
self.importer = mitogen.core.Importer(self.router, self.context, '')
def tearDown(self):
sys.modules.pop(self.modname, None)

Loading…
Cancel
Save