""" Stubs of returned and decoded API data for use in testing"""

nation_stub = {'cityids': ['52120', '52148', '52174', '53277', '54485', '55712', '56923', '59038', '67938', '70620',
                           '71778', '75461', '90634', '108684', '213986', '226209', '238867', '254572', '275416',
                           '284012',
                           '301479'],
               'cityprojecttimerturns': 0, 'success': True, 'nationid': '31191', 'name': 'Reach',
               'prename': 'The Kingdom of the', 'continent': 'North America', 'socialpolicy': 'conservative',
               'color': 'orange', 'minutessinceactive': 15, 'uniqueid': '74b1350a4633dbace745c2a4',
               'government': 'Absolute Monarchy', 'domestic_policy': 'Urbanization', 'war_policy': 'Arcane',
               'founded': '2016-01-17 13:55:45', 'daysold': 1495, 'alliance': 'Seven Kingdoms', 'allianceposition': '3',
               'allianceid': '615', 'flagurl': 'http://i.imgur.com/iMQ8URA.png', 'leadername': 'Mikey',
               'title': 'Lord Paramount', 'ecopolicy': 'far right wing', 'approvalrating': '-2015.6627',
               'nationrank': 818, 'nationrankstrings': '818 of 14745 Nations', 'nrtotal': 14745, 'cities': 21,
               'latitude': '41.58', 'longitude': '-71.62', 'score': '2327.00', 'population': '3307214',
               'gdp': '2987979602',
               'totalinfrastructure': 22800, 'landarea': 42009.32, 'soldiers': '0', 'soldiercasualties': '5843915',
               'soldierskilled': '3540606', 'tanks': '0', 'tankcasualties': '135161', 'tankskilled': '77954',
               'aircraft': '1024', 'aircraftcasualties': '30852', 'aircraftkilled': '24266', 'ships': '40',
               'shipcasualties': '1526', 'shipskilled': '726', 'missiles': '1', 'missilelaunched': '17',
               'missileseaten': '9', 'nukes': '0', 'nukeslaunched': '0', 'nukeseaten': '9', 'infdesttot': '79686.04',
               'infraLost': '130138', 'moneyLooted': '241891582.88', 'ironworks': '1', 'bauxiteworks': '1',
               'armsstockpile': '0', 'emgasreserve': '0', 'massirrigation': '0', 'inttradecenter': '1',
               'missilelpad': '1',
               'nuclearresfac': '0', 'irondome': '0', 'vitaldefsys': '1', 'intagncy': '1', 'uraniumenrich': '0',
               'propbureau': '1', 'cenciveng': '1', 'city_planning': '0', 'adv_city_planning': '0',
               'space_program': '0',
               'spy_satellite': '0', 'moon_landing': '0', 'vmode': '0', 'offensivewars': 0, 'defensivewars': 0,
               'offensivewar_ids': [], 'defensivewar_ids': [], 'beige_turns_left': 0,
               'radiation_index': 24.490965277778,
               'season': 'spring', 'espionage_available': True}

nations_stub = {'nations': [
    {'nationid': 33841, 'nation': 'The Great British Empire', 'leader': '-Bradley-', 'continent': 'Africa',
     'war_policy': 'Pirate', 'color': 'orange', 'alliance': 'Seven Kingdoms', 'allianceid': 615, 'allianceposition': 3,
     'cities': 25, 'infrastructure': 50750, 'offensivewars': 0, 'defensivewars': 0, 'score': 3733.75, 'rank': 1,
     'vacmode': 0, 'minutessinceactive': 75},
    {'nationid': 2685, 'nation': 'carvell', 'leader': 'carvell', 'continent': 'Africa', 'war_policy': 'Fortress',
     'color': 'orange', 'alliance': 'Seven Kingdoms', 'allianceid': 615, 'allianceposition': 2, 'cities': 27,
     'infrastructure': 27000, 'offensivewars': 0, 'defensivewars': 0, 'score': 3639.5, 'rank': 2, 'vacmode': 0,
     'minutessinceactive': 81}]}

members_stub = {'nations': [
    {'nationid': 582, 'nation': 'Nightsilver Woods', 'leader': 'Luna', 'war_policy': 'Fortress', 'color': 'gray',
     'alliance': 'Seven Kingdoms', 'allianceid': 615, 'allianceposition': 2, 'cities': 22, 'offensivewars': 0,
     'defensivewars': 0, 'score': '1674.18', 'vacmode': '1595', 'minutessinceactive': 16186,
     'infrastructure': '17767.35', 'cityprojecttimerturns': 0, 'bauxiteworks': '1', 'ironworks': '0',
     'armsstockpile': '0', 'emgasreserve': '1', 'massirrigation': '0', 'inttradecenter': '1', 'missilepad': '1',
     'nuclearresfac': '0', 'irondome': '1', 'vitaldefsys': '1', 'intagncy': '1', 'uraniumenrich': '1',
     'propbureau': '1', 'cenciveng': '0', 'money': '169067412.65', 'food': '14546.21', 'coal': '0.00', 'oil': '710.40',
     'uranium': '13590.35', 'bauxite': '38.50', 'iron': '0.00', 'lead': '0.00', 'gasoline': '4158.65',
     'munitions': '6383.96', 'aluminum': '55156.81', 'steel': '2012.97', 'credits': '0', 'soldiers': '0', 'tanks': '0',
     'aircraft': '0', 'ships': '0', 'missiles': '0', 'nukes': '0', 'spies': '12'},
    {'nationid': 4834, 'nation': 'Nero', 'leader': 'Lyro von Doom', 'war_policy': 'Attrition', 'color': 'orange',
     'alliance': 'Seven Kingdoms', 'allianceid': 615, 'allianceposition': 2, 'cities': 22, 'offensivewars': 0,
     'defensivewars': 0, 'score': '1248.13', 'vacmode': '0', 'minutessinceactive': 8465, 'infrastructure': '1525.23',
     'cityprojecttimerturns': 0, 'bauxiteworks': '0', 'ironworks': '1', 'armsstockpile': '0', 'emgasreserve': '1',
     'massirrigation': '0', 'inttradecenter': '1', 'missilepad': '0', 'nuclearresfac': '1', 'irondome': '0',
     'vitaldefsys': '0', 'intagncy': '1', 'uraniumenrich': '1', 'propbureau': '1', 'cenciveng': '1', 'money': '0.00',
     'food': '0.00', 'coal': '43.22', 'oil': '0.00', 'uranium': '142.72', 'bauxite': '8.30', 'iron': '0.00',
     'lead': '11.00', 'gasoline': '188.50', 'munitions': '303.72', 'aluminum': '49.64', 'steel': '229.16',
     'credits': '0', 'soldiers': '0', 'tanks': '0', 'aircraft': '0', 'ships': '0', 'missiles': '0', 'nukes': '0',
     'spies': '3'}]}
