parser/test_v025: Add missing reference_date

pull/16/head
Fabian P. Schmidt 2016-10-17 00:48:46 +02:00
rodzic e3de256060
commit 56caf6fed3
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -38,7 +38,7 @@ class TestStringMethods(unittest.TestCase):
def test_v025(self):
# introduced the "aprs status" format where many informations (lat, lon, alt, speed, ...) are just optional
raw_message = "EPZR>APRS,TCPIP*,qAC,GLIDERN1:>093456h this is a comment"
message = parse_aprs(raw_message)
message = parse_aprs(raw_message, reference_date=datetime(2015, 1, 1, 9, 35, 29))
self.assertEqual(message['name'], "EPZR")
self.assertEqual(message['receiver_name'], "GLIDERN1")