def test_dec_counter(self):
        self.User.inc_counter()
        c = self.User.count()
        self.User.dec_counter()
        self.assertEqual(self.User.count(), c - 1)
dataset/ETHPy150Open tevino/mongu/tests/test_counter.py/CounterTests.test_dec_counter/original