test: self._cache = json.load(f, cls=partial(CacheDecoder, self.client))

This commit is contained in:
jamesgetx 2021-02-01 21:20:19 +08:00
parent ec1e85ec10
commit e09312a31e
No known key found for this signature in database
GPG Key ID: 2A809BA26FBB7CE3

View File

@ -37,4 +37,4 @@ class TestDiscoverer(unittest.TestCase):
mtime2 = os.path.getmtime(client.resources._Discoverer__cache_file)
# test no Discoverer._write_cache called
self.assertTrue(mtime1 == mtime2)
self.assertTrue(mtime1 == mtime2)