def testPformatCacheInfo(self): LocalSyncCache(id="FooBar") txt = LocalSyncCache.pformat_cache_information() self.assertTrue("id: FooBar" in txt) self.assertTrue("instance: {}" in txt) self.assertTrue("cleared: False" in txt)
def testEmptyPformatCacheInfo(self): txt = LocalSyncCache.pformat_cache_information() assert_pformat_equal(txt, "")
def testEmptyPformatCacheInfo(self): txt = LocalSyncCache.pformat_cache_information() self.assertEqual(txt, "")