kopia lustrzana https://github.com/glidernet/ogn-python
Fixed test
rodzic
84953e8044
commit
b414d5ba84
|
@ -3,7 +3,7 @@ import os
|
|||
|
||||
from ogn.model import TakeoffLanding
|
||||
|
||||
from ogn.collect.takeoff_landing import get_aircraft_beacon_start_id, compute_takeoff_and_landing
|
||||
from ogn.collect.takeoff_landing import compute_takeoff_and_landing
|
||||
|
||||
|
||||
class TestDB(unittest.TestCase):
|
||||
|
@ -95,8 +95,6 @@ class TestDB(unittest.TestCase):
|
|||
session.execute("UPDATE aircraft_beacon SET device_id = d.id FROM device d WHERE d.address='DDEFF7'")
|
||||
session.commit()
|
||||
|
||||
print(get_aircraft_beacon_start_id(session))
|
||||
|
||||
compute_takeoff_and_landing(session)
|
||||
self.assertEqual(self.count_takeoff_and_landings(), 2)
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue