def test_decrement(self, fake_put): # test tracker = Tracker(None) tracker.decrement() # validation fake_put.assert_called_once_with(0)