Beispiel #1
0
 def test_current_value(self):
     ivc = StringValueCounter('test_counter')
     ivc.update('aha')
     self.assertEqual(ivc.get_current(), 'aha')
     ivc.update('abc')
     self.assertEqual(ivc.get_current(), 'abc')