diff options
Diffstat (limited to 'oslotest/tests/unit/test_mock_fixture.py')
-rw-r--r-- | oslotest/tests/unit/test_mock_fixture.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/oslotest/tests/unit/test_mock_fixture.py b/oslotest/tests/unit/test_mock_fixture.py index c5175b7..e578fb4 100644 --- a/oslotest/tests/unit/test_mock_fixture.py +++ b/oslotest/tests/unit/test_mock_fixture.py @@ -74,6 +74,7 @@ class MockSanityTestCase(testtools.TestCase): for spec in [Foo, Foo()]: foo = mock_cls(autospec=spec) self._check_autospeced_foo(foo) + self._check_autospeced_foo(foo()) def test_mock_autospec_all_members(self): self._check_mock_autospec_all_members(mock.Mock) |