def METHOD_NAME(self):
    r = increase_and_read("hallo_counter")
    self.assertEqual(r, 1)
    r = increase_and_read("counter2")
    self.assertEqual(r, 1)
    r = increase_and_read("hallo_counter")
    self.assertEqual(r, 2)
    counter = EventCounter.query.filter_by(counter_name="hallo_counter").first()
    self.assertEqual(counter.counter_value, 2)