import pytest


@pytest.fixture(scope="module")
def cargos():
    return [
        {'product': 'Light bulbs',
         'origin_city': 'Sikeston',
         'origin_state': 'MO',
         'origin_lat': 36.876719,
         'origin_lng': -89.5878579,
         'destination_city': 'Grapevine',
         'destination_state': 'TX',
         'destination_lat': 32.9342919,
         'destination_lng': -97.0780654},
        {'product': 'Recyclables',
         'origin_city': 'Christiansburg',
         'origin_state': 'VA',
         'origin_lat': 37.1298517,
         'origin_lng': -80.4089389,
         'destination_city': 'Apopka',
         'destination_state': 'FL',
         'destination_lat': 28.6934076,
         'destination_lng': -81.5322149},
        {'product': 'Apples',
         'origin_city': 'Columbus',
         'origin_state': 'OH',
         'origin_lat': 39.9611755,
         'origin_lng': -82.9987942,
         'destination_city': 'Woodland',
         'destination_state': 'CA',
         'destination_lat': 38.6785157,
         'destination_lng': -121.7732971},
        {'product': 'Wood',
         'origin_city': 'Hebron',
         'origin_state': 'KY',
         'origin_lat': 39.0661472,
         'origin_lng': -84.7031888,
         'destination_city': 'Jefferson',
         'destination_state': 'LA',
         'destination_lat': 29.9660371,
         'destination_lng': -90.1531298},
        {'product': 'Cell phones',
         'origin_city': 'Hickory',
         'origin_state': 'NC',
         'origin_lat': 35.7344538,
         'origin_lng': -81.3444573,
         'destination_city': 'La Pine',
         'destination_state': 'OR',
         'destination_lat': 43.6703995,
         'destination_lng': -121.503636},
        {'product': 'Wood',
         'origin_city': 'Northfield',
         'origin_state': 'MN',
         'origin_lat': 44.4582983,
         'origin_lng': -93.161604,
         'destination_city': 'Waukegan',
         'destination_state': 'IL',
         'destination_lat': 42.3636331,
         'destination_lng': -87.8447938},
        {'product': 'Oranges',
         'origin_city': 'Fort Madison',
         'origin_state': 'IA',
         'origin_lat': 40.6297634,
         'origin_lng': -91.314535,
         'destination_city': 'Ottawa',
         'destination_state': 'IL',
         'destination_lat': 41.3455892,
         'destination_lng': -88.8425769}
    ]


@pytest.fixture(scope="module")
def trucks():
    return [
        {'truck': 'Hartford Plastics Incartford',
         'city': 'Florence',
         'state': 'AL',
         'lat': 34.79981,
         'lng': -87.677251},
        {'truck': 'Beyond Landscape & Design Llcilsonville',
         'city': 'Fremont',
         'state': 'CA',
         'lat': 37.5482697,
         'lng': -121.9885719},
        {'truck': 'Empire Of Dirt Llcquality',
         'city': 'Hampden',
         'state': 'ME',
         'lat': 44.7445421,
         'lng': -68.8370436},
        {'truck': 'James Haas Al Haas Shelly Haasairfield',
         'city': 'North East',
         'state': 'MD',
         'lat': 39.6001132,
         'lng': -75.9413327},
        {'truck': 'Ibrahim Chimandalpharetta',
         'city': 'Toledo',
         'state': 'OH',
         'lat': 41.6639383,
         'lng': -83.555212},
        {'truck': 'John Bianchiake Havasu City',
         'city': 'Renton',
         'state': 'WA',
         'lat': 47.4828776,
         'lng': -122.2170661},
        {'truck': 'Macomb Iron Llchesterfield',
         'city': 'Cleveland',
         'state': 'OH',
         'lat': 41.49932,
         'lng': -81.6943605},
        {'truck': 'Robert Robertsonairhope',
         'city': 'Green Bay',
         'state': 'WI',
         'lat': 44.519159,
         'lng': -88.019826},
        {'truck': 'Viking Products Of Austin Incustin',
         'city': 'Fort Campbell',
         'state': 'TN',
         'lat': 36.6634467,
         'lng': -87.4773902},
        {'truck': 'Arachus Incashville',
         'city': 'Bethlehem',
         'state': 'PA',
         'lat': 40.6259316,
         'lng': -75.3704579},
        {'truck': 'Dawna L Zanderppleton',
         'city': 'Burbank',
         'state': 'WA',
         'lat': 46.1998568,
         'lng': -119.0130618},
        {'truck': 'Michael J Geenenaukauna',
         'city': 'Lubbock',
         'state': 'TX',
         'lat': 33.5778631,
         'lng': -101.8551665},
        {'truck': "Peet'S Tree Serviceinterport",
         'city': 'Schertz',
         'state': 'TX',
         'lat': 29.5521737,
         'lng': -98.269734},
        {'truck': 'Filippo Lumaroallston',
         'city': 'La Porte',
         'state': 'TX',
         'lat': 29.6657838,
         'lng': -95.0193728},
        {'truck': 'Jorge L Denisollywood',
         'city': 'Delta',
         'state': 'CO',
         'lat': 38.7422062,
         'lng': -108.0689582},
        {'truck': 'Ramiro Castilloucson',
         'city': 'Logan',
         'state': 'UT',
         'lat': 41.7369803,
         'lng': -111.8338359},
        {'truck': 'Paul J Krez Companyorton Grove',
         'city': 'Forest City',
         'state': 'NC',
         'lat': 35.3340108,
         'lng': -81.8651028},
        {'truck': "Sullivans' Homestead Inclympia",
         'city': 'Deerfield Beach',
         'state': 'FL',
         'lat': 26.3184123,
         'lng': -80.0997657},
        {'truck': 'Jeffrey A Shepardypsum',
         'city': 'Dalton',
         'state': 'GA',
         'lat': 34.7698021,
         'lng': -84.9702228},
        {'truck': 'Wayne E Bollinauvoo',
         'city': 'North Logan',
         'state': 'UT',
         'lat': 41.7693747,
         'lng': -111.8046654},
        {'truck': 'Gary Lee Wilcoxpencer',
         'city': 'Eagle River',
         'state': 'WI',
         'lat': 45.9171763,
         'lng': -89.2442988},
        {'truck': 'Jacques N Faucherochester',
         'city': 'Mission',
         'state': 'KS',
         'lat': 39.0277832,
         'lng': -94.6557914},
        {'truck': 'Sidhu Trucking Incarrisburg',
         'city': 'Hawkins',
         'state': 'TX',
         'lat': 32.5884735,
         'lng': -95.2041135},
        {'truck': "Edmon'S Unique Furniture & Stone Gallery Inc.Os Angeles",
         'city': 'Bolingbrook',
         'state': 'IL',
         'lat': 41.6986416,
         'lng': -88.0683955},
        {'truck': 'Ricardo Juradoacramento',
         'city': 'Covesville',
         'state': 'VA',
         'lat': 37.8901411,
         'lng': -78.7047401},
        {'truck': 'Turenne Auto Body Llchorp',
         'city': 'Schertz',
         'state': 'TX',
         'lat': 29.5521737,
         'lng': -98.269734},
        {'truck': 'Allen R Pruittrown City',
         'city': 'La Porte',
         'state': 'TX',
         'lat': 29.6657838,
         'lng': -95.0193728},
        {'truck': "Kjellberg'S Carpet Oneuffalo",
         'city': 'Mount Vernon',
         'state': 'OH',
         'lat': 40.3933956,
         'lng': -82.4857181},
        {'truck': 'Dupree Testing Services Incutchinson',
         'city': 'Houston',
         'state': 'TX',
         'lat': 29.7604267,
         'lng': -95.3698028},
        {'truck': 'Vincent Rodriguezansas City',
         'city': 'Flagstaff',
         'state': 'AZ',
         'lat': 35.1982836,
         'lng': -111.651302},
        {'truck': 'Loren Martinrand Junction',
         'city': 'Forest Grove',
         'state': 'OR',
         'lat': 45.5198364,
         'lng': -123.1106631},
        {'truck': 'I N H Relocation Services Incoodbridge',
         'city': 'San Antonio',
         'state': 'TX',
         'lat': 29.4241219,
         'lng': -98.4936282},
        {'truck': 'Arrow Towing Llcent',
         'city': 'Hackettstown',
         'state': 'NJ',
         'lat': 40.8539879,
         'lng': -74.8290555},
        {'truck': 'Scott Cassidylanchardville',
         'city': 'Denver',
         'state': 'CO',
         'lat': 39.7616189,
         'lng': -104.9622498},
        {'truck': 'Como Construction Llcottstown',
         'city': 'Wanaque',
         'state': 'NJ',
         'lat': 41.0381525,
         'lng': -74.2940378},
        {'truck': 'High Pines Farm Llcontello',
         'city': 'Chicago',
         'state': 'IL',
         'lat': 41.8781136,
         'lng': -87.6297982},
        {'truck': 'Jwj Interests Incealy',
         'city': 'Glen Burnie',
         'state': 'MD',
         'lat': 39.1626084,
         'lng': -76.6246886},
        {'truck': 'Efrain Morales Diazorwalk',
         'city': 'Marshfield',
         'state': 'MO',
         'lat': 37.338658,
         'lng': -92.9071209},
        {'truck': 'Rubye Hunterincolnton',
         'city': 'Elizabeth',
         'state': 'NJ',
         'lat': 40.6639916,
         'lng': -74.2107006},
        {'truck': 'Jevin Q Watsonillsboro',
         'city': 'McDonough',
         'state': 'GA',
         'lat': 33.4473361,
         'lng': -84.1468616},
        {'truck': 'Martinez Transport Llcdaho Falls',
         'city': 'Chicago',
         'state': 'IL',
         'lat': 41.8781136,
         'lng': -87.6297982},
        {'truck': 'Jeffery Allan Luiacine',
         'city': 'Tuscaloosa',
         'state': 'AL',
         'lat': 33.2098407,
         'lng': -87.5691735},
        {'truck': 'Fish-Bones Towingew York',
         'city': 'Monroe',
         'state': 'WI',
         'lat': 42.6011194,
         'lng': -89.6384532},
        {'truck': 'Wisebuys Stores Incouverneur',
         'city': 'Washington',
         'state': 'WV',
         'lat': 39.244853,
         'lng': -81.6637765}]
