コード例 #1
0
 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
コード例 #2
0
 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
コード例 #3
0
 def test_two_devices(self):
     with application.app_context():
         gsm_events = total_gsm_events()
         assert gsm_events == 3
コード例 #4
0
 def test_two_devices(self):
     with application.app_context():
         gsm_events = total_gsm_events()
         assert gsm_events == 3