예제 #1
0
 def test_copy_non_string_key(self):
     c = Configure()
     c.copy({5: 1})
     self.assertEqual(c[5], 1)
예제 #2
0
 def test_copy_dict(self):
     c = Configure()
     c.copy({'a': 1})
     self.assertEqual(c['a'], 1)