Skip to content
Snippets Groups Projects
Unverified Commit 26a0bc17 authored by Bucknell, Mary S.'s avatar Bucknell, Mary S. Committed by GitHub
Browse files

Merge pull request #1432 from mbucknell/fix_test_for_pytho3.6

Fix test for python 3.6
parents dad12398 554706b4
No related branches found
No related tags found
No related merge requests found
......@@ -70,7 +70,7 @@ def test_good_weather_service_response():
timezone = get_iana_time_zone('45.0', '-100.0')
r_mock.assert_called_once()
assert(r_mock.call_args.args[1] == 'points/45.0,-100.0')
assert(r_mock.call_args[0][1] == 'points/45.0,-100.0')
assert(timezone == 'America/New_York')
......@@ -82,5 +82,5 @@ def test_bad_weather_service_response():
timezone = get_iana_time_zone('46.0', '-110.0')
r_mock.assert_called_once()
assert (r_mock.call_args.args[1] == 'points/46.0,-110.0')
assert (r_mock.call_args[0][1] == 'points/46.0,-110.0')
assert timezone is None
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment