Fix TypeError while initiliazing ImporterMixin

Since f44356af32 mitogen.core.Importer()
takes a Router instance.
wip-fakessh-exit-status
Alex Willmer 6 years ago committed by David Wilson
parent eb1ad66469
commit 9ccff0f5d1

@ -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