Exemplo n.º 1
0
 def test_delete_key(self):
     counters.increment(TEST_KEY, 'fred')
     counters.reset(TEST_KEY)
     self.assertEqual(counters.get(TEST_KEY), 0)
Exemplo n.º 2
0
 def tearDown(self):
     counters.reset(TEST_KEY)
Exemplo n.º 3
0
 def setUp(self):
     counters.reset(TEST_KEY)
     self.assertEqual(counters.get(TEST_KEY), 0)
Exemplo n.º 4
0
 def test_delete_key(self):
     counters.increment(TEST_KEY, 'fred')
     counters.reset(TEST_KEY)
     self.assertEqual(counters.get(TEST_KEY), 0)
Exemplo n.º 5
0
 def tearDown(self):
     counters.reset(TEST_KEY)
Exemplo n.º 6
0
 def setUp(self):
     counters.reset(TEST_KEY)
     self.assertEqual(counters.get(TEST_KEY), 0)