Manually check `verifyNoUnwantedInteractions`
... since we're using a mockito version which does not
automatically
@@ -11,6 +11,7 @@ from unittesting import DeferrableTestCase
from SublimeLinter.tests.parameterized import parameterized as p
from SublimeLinter.tests.mockito import (
when,
+ verifyNoUnwantedInteractions,
expect,
unstub,
mock
@@ -243,6 +244,10 @@ class TestWorkingDirSetting(_BaseTestCase):
):
actual = linter.get_working_dir(settings)
+ # Looks like we're using an outdated version of mockito,
+ # which does not automatically verify on `__exit__`.
+ verifyNoUnwantedInteractions(linter_module.logger)
+
self.assertEqual(None, actual)
