def test_default_key(self): ac = AbstractCounter() self.assertEqual('default_counter', ac.get_key())
def test_overloaded_key(self): ac = AbstractCounter('aKey') self.assertEqual('aKey', ac.get_key())