From 56caf6fed3f89b50a3ea8118fcda4bafc8859ada Mon Sep 17 00:00:00 2001 From: "Fabian P. Schmidt" Date: Mon, 17 Oct 2016 00:48:46 +0200 Subject: [PATCH] parser/test_v025: Add missing reference_date --- tests/parser/test_beacon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/parser/test_beacon.py b/tests/parser/test_beacon.py index ea16eec..d95e1fc 100644 --- a/tests/parser/test_beacon.py +++ b/tests/parser/test_beacon.py @@ -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")