

def test_load_returns_self(self, is_loaded_mock, time_mock):
    is_loaded_mock.return_value = True
    foo = Foo(self.session)
    result = foo.load()
    self.assertEqual(result, foo)

dataset/ETHPy150Open mopidy/pyspotify/tests/test_loadable.py LoadableTest.test_load_returns_self/original