@@ -10,13 +10,13 @@ def __init__(self, latest):
1010
1111 return TestTimeline (args [0 ])
1212
13- @pytest .mark .parametrize ("test_id, country, country_code, country_population, province, county, latitude, longitude, confirmed_latest, deaths_latest, recovered_latest" , [
14- (0 , "Thailand" , "TH" , 1000 , "" , "" , 15 , 100 , 1000 , 1111 , 22222 ),
15- (1 , "Deutschland" , "DE" , 1000 , "" , "" , 15 , 100 , 1000 , 1111 , 22222 ),
16- (2 , "Cruise Ship" , "XX" , 1000 , "" , "" , 15 , 100 , 1000 , 1111 , 22222 )
13+ @pytest .mark .parametrize ("test_id, country, country_code, country_population, province, latitude, longitude, confirmed_latest, deaths_latest, recovered_latest" , [
14+ (0 , "Thailand" , "TH" , 1000 , "" , 15 , 100 , 1000 , 1111 , 22222 ),
15+ (1 , "Deutschland" , "DE" , 1000 , "" , 15 , 100 , 1000 , 1111 , 22222 ),
16+ (2 , "Cruise Ship" , "XX" , 1000 , "" , 15 , 100 , 1000 , 1111 , 22222 )
1717])
1818@mock .patch ('app.timeline.Timeline' , side_effect = mocked_timeline )
19- def test_location_class (mocked_timeline , test_id , country , country_code , country_population , province , county , latitude , longitude , confirmed_latest , deaths_latest , recovered_latest ):
19+ def test_location_class (mocked_timeline , test_id , country , country_code , country_population , province , latitude , longitude , confirmed_latest , deaths_latest , recovered_latest ):
2020
2121 # id, country, province, coordinates, confirmed, deaths, recovered
2222 coords = coordinates .Coordinates (latitude = latitude , longitude = longitude )
@@ -45,7 +45,6 @@ def test_location_class(mocked_timeline, test_id, country, country_code, country
4545 'country_code' : country_code ,
4646 'country_population' : country_population ,
4747 'province' : province ,
48- 'county' : county ,
4948 'last_updated' : now ,
5049 'coordinates' : {
5150 'latitude' : latitude ,
0 commit comments