def test_two_devices(self): with application.app_context(): gsm_events = total_gsm_events(min_date=(datetime.now() + timedelta(days=-1))) assert gsm_events == 2
def test_two_devices(self): with application.app_context(): gsm_events = total_gsm_events() assert gsm_events == 3