Skip to content

Commit 2d1c262

Browse files
author
ExpDev07
committed
now fixed
1 parent 5761717 commit 2d1c262

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_location.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ def test_location_class(mocked_timeline, test_id, country, country_code, provinc
2626
deaths = timeline.Timeline(deaths_latest)
2727
recovered = timeline.Timeline(recovered_latest)
2828

29-
# Location
30-
location = location.TimelinedLocation(test_id, country, province, coordinates, {
29+
# Location.
30+
location_obj = location.TimelinedLocation(test_id, country, province, coordinates, {
3131
'confirmed': confirmed,
3232
'deaths' : deaths,
3333
'recovered': recovered,
3434
})
3535

36-
assert location.country_code == country_code
36+
assert location_obj.country_code == country_code
3737

3838
#validate serialize
3939
check_dict = {
@@ -52,4 +52,4 @@ def test_location_class(mocked_timeline, test_id, country, country_code, provinc
5252
}
5353
}
5454

55-
assert location.serialize() == check_dict
55+
assert location_obj.serialize() == check_dict

0 commit comments

Comments
 (0)