Skip to content

Commit

Permalink
Fix radar tests
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Apr 21, 2021
1 parent f4c07a5 commit 08754a2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions tests/provider/dwd/radar/test_api_historic.py
Expand Up @@ -225,7 +225,7 @@ def test_radar_request_composite_historic_radolan_rw_yesterday():
date_time = request.start_date.strftime("%d%H%M")
month_year = request.start_date.strftime("%m%y")
header = (
f"RW{date_time}10000{month_year}BY.......VS 3SW 2.28..PR E-01INT 60GP 900x 900MF 00000001MS " # noqa:E501,B950
f"RW{date_time}10000{month_year}BY.......VS 3SW ......PR E-01INT 60GP 900x 900MF 00000001MS " # noqa:E501,B950
f"..<{station_reference_pattern_unsorted}>" # noqa:E501,B950
)

Expand Down Expand Up @@ -925,7 +925,7 @@ def test_radar_request_radvor_rq_yesterday():
date_time = request.start_date.strftime("%d%H%M")
month_year = request.start_date.strftime("%m%y")
header = (
f"RQ{date_time}10000{month_year}BY.......VS 3SW 2.28..PR E-01INT 60GP 900x 900VV 0MF 00000008QN ...MS " # noqa:E501,B950
f"RQ{date_time}10000{month_year}BY.......VS 3SW ......PR E-01INT 60GP 900x 900VV 0MF 00000008QN ...MS " # noqa:E501,B950
f"..<{station_reference_pattern_sorted}" # noqa:E501,B950
)

Expand Down
4 changes: 2 additions & 2 deletions tests/provider/dwd/radar/test_api_latest.py
Expand Up @@ -30,7 +30,7 @@ def test_radar_request_composite_latest_rx_reflectivity():

month_year = datetime.utcnow().strftime("%m%y")
header = (
f"RX......10000{month_year}BY 8101..VS 3SW 2.28..PR E\\+00INT 5GP 900x 900MS " # noqa:E501,B950
f"RX......10000{month_year}BY 8101..VS 3SW ......PR E\\+00INT 5GP 900x 900MS " # noqa:E501,B950
f"..<{station_reference_pattern_unsorted}>" # noqa:E501,B950
)

Expand Down Expand Up @@ -60,7 +60,7 @@ def test_radar_request_composite_latest_rw_reflectivity():
month_year = datetime.utcnow().strftime("%m%y")
header = (
f"RW......10000{month_year}"
f"BY16201..VS 3SW 2.28..PR E-01INT 60GP 900x 900MF 00000001MS "
f"BY16201..VS 3SW ......PR E-01INT 60GP 900x 900MF 00000001MS "
f"..<{station_reference_pattern_unsorted}>"
)

Expand Down
2 changes: 1 addition & 1 deletion tests/provider/dwd/radar/test_api_most_recent.py
Expand Up @@ -142,7 +142,7 @@ def test_radar_request_radolan_cdc_most_recent():
date_time = request.start_date.strftime("%d%H%M")
month_year = request.start_date.strftime("%m%y")
header = (
f"SF{date_time}10000{month_year}BY.......VS 3SW 2.28.1PR E-01INT1440GP 900x 900MS " # noqa:E501,B950
f"SF{date_time}10000{month_year}BY.......VS 3SW ......PR E-01INT1440GP 900x 900MS " # noqa:E501,B950
f"..<{station_reference_pattern_unsorted}>" # noqa:E501,B950
)

Expand Down

0 comments on commit 08754a2

Please sign in to comment.