@@ -30,7 +30,7 @@ def test_position_packet_only_weather_valid(self):
3030 'wind_gust' : 0.0 ,
3131 'temperature' : 18.88888888888889 ,
3232 'rain_1h' : 0.0 ,
33- 'rain_24h' : 0.0
33+ 'rain_24h' : 0.0 ,
3434 }
3535 }
3636
@@ -50,14 +50,14 @@ def test_position_packet_data_ext_and_weather_valid(self):
5050 'symbol_table' : '/' ,
5151 'latitude' : 49.05833333333333 ,
5252 'longitude' : - 72.02916666666667 ,
53- 'course' : 90 ,
54- 'speed' : 1 * 1.852 ,
5553 'comment' : '...dUII' ,
5654 'weather' : {
5755 'wind_gust' : 0.0 ,
5856 'temperature' : 18.88888888888889 ,
5957 'rain_1h' : 0.0 ,
60- 'rain_24h' : 0.0
58+ 'rain_24h' : 0.0 ,
59+ 'wind_direction' : 90 ,
60+ 'wind_speed' : 1 ,
6161 }
6262 }
6363
@@ -77,13 +77,13 @@ def test_position_packet_optional_speed(self):
7777 'symbol_table' : '/' ,
7878 'latitude' : 49.05833333333333 ,
7979 'longitude' : - 72.02916666666667 ,
80- 'course' : 90 ,
8180 'comment' : '...dUII' ,
8281 'weather' : {
8382 'wind_gust' : 0.0 ,
8483 'temperature' : 18.88888888888889 ,
8584 'rain_1h' : 0.0 ,
86- 'rain_24h' : 0.0
85+ 'rain_24h' : 0.0 ,
86+ 'wind_direction' : 90
8787 }
8888 }
8989
@@ -103,13 +103,13 @@ def test_position_packet_optional_course(self):
103103 'symbol_table' : '/' ,
104104 'latitude' : 49.05833333333333 ,
105105 'longitude' : - 72.02916666666667 ,
106- 'speed' : 1 * 1.852 ,
107106 'comment' : '...dUII' ,
108107 'weather' : {
109108 'wind_gust' : 0.0 ,
110109 'temperature' : 18.88888888888889 ,
111110 'rain_1h' : 0.0 ,
112- 'rain_24h' : 0.0
111+ 'rain_24h' : 0.0 ,
112+ 'wind_speed' : 1 ,
113113 }
114114 }
115115
@@ -153,13 +153,13 @@ def test_position_packet_optional_course(self):
153153 'symbol_table' : '/' ,
154154 'latitude' : 49.05833333333333 ,
155155 'longitude' : - 72.02916666666667 ,
156- 'speed' : 1 * 1.852 ,
157156 'comment' : '...dUII' ,
158157 'weather' : {
159158 'wind_gust' : 0.0 ,
160159 'temperature' : 18.88888888888889 ,
161160 'rain_1h' : 0.0 ,
162- 'rain_24h' : 0.0
161+ 'rain_24h' : 0.0 ,
162+ 'wind_speed' : 1 ,
163163 }
164164 }
165165
0 commit comments