Пример #1
0
 def test_update_no_ttl(self):
     """ Test update() call """
     ttl_dict = TTLDict(None)
     orig_dict = {'hello': 'world', 'intval': 3}
     ttl_dict.update(orig_dict)
     self.assertEqual(sorted(orig_dict.items()), sorted(ttl_dict.items()))