Commit 9ccff0f5 authored by Alex Willmer's avatar Alex Willmer Committed by David Wilson

Fix TypeError while initiliazing ImporterMixin

Since f44356af3275912f7df78fa58e860f107a71e7e5 mitogen.core.Importer()
takes a Router instance.
parent eb1ad664
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment