# -*- coding: utf-8 -*-
"""
AutoSimulationCraft - data fixtures

The latest version of this package is available at:
<https://github.com/jantman/autosimulationcraft>

##################################################################################
Copyright 2015 Jason Antman <jason@jasonantman.com> <http://www.jasonantman.com>

    This file is part of autosimulationcraft.

    autosimulationcraft is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    autosimulationcraft is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with autosimulationcraft.  If not, see <http://www.gnu.org/licenses/>.

The Copyright and Authors attributions contained herein may not be removed or
otherwise altered, except to add the Author attribution of a contributor to
this work. (Additional Terms pursuant to Section 7b of the AGPL v3)
##################################################################################
While not legally required, I sincerely request that anyone who finds
bugs please submit them at <https://github.com/jantman/autosimulationcraft> or
to me via email, and that you send any contributions or improvements
either as a pull request on GitHub, or to me via email.
##################################################################################

AUTHORS:
Jason Antman <jason@jasonantman.com> <http://www.jasonantman.com>

"""

import pytest


@pytest.fixture
def bnet_data():
    """ sample data returned by battlenet """
    data = {u'realm': u'Area 52', u'name': u'Jantman', u'battlegroup': u'Vindication', u'level': 100, u'lastModified': 1420861012000, u'professions': {u'primary': [{u'name': u'Tailoring', u'max': 675, u'recipes': [2385, 2386, 2387, 2392, 2393, 2394, 2395, 2396, 2397, 2399, 2401, 2402, 2406, 2963, 2964, 3755, 3757, 3813, 3839, 3840, 3841, 3842, 3843, 3845, 3848, 3850, 3852, 3855, 3859, 3861, 3865, 3866, 3871, 3914, 3915, 6521, 6690, 7623, 7624, 8465, 8467, 8483, 8489, 8758, 8760, 8762, 8764, 8766, 8770, 8772, 8774, 8776, 8791, 8799, 8804, 12044, 12045, 12046, 12048, 12049, 12050, 12052, 12053, 12055, 12061, 12065, 12067, 12069, 12070, 12071, 12072, 12073, 12074, 12076, 12077, 12079, 12082, 12088, 12092, 18401, 18402, 18403, 18406, 18407, 18409, 18410, 18411, 18413, 18414, 18415, 18416, 18417, 18420, 18421, 18423, 18424, 18437, 18438, 18441, 18442, 18444, 18446, 18449, 18450, 18451, 18453, 26745, 26746, 26764, 26765, 26770, 26771, 26772, 31460, 44950, 55898, 55899, 55900, 55901, 55902, 55903, 55904, 55906, 55907, 55908, 55910, 55911, 55913, 55914, 55919, 55920, 55921, 55922, 55923, 55924, 55925, 55941, 55943, 55995, 56000, 56001, 56002, 56003, 56007, 56008, 56010, 56014, 56015, 56018, 56019, 56020, 56021, 56022, 56023, 56024, 56025, 56026, 56027, 56028, 56029, 56030, 56031, 59582, 59583, 59584, 59585, 59586, 59587, 59588, 59589, 60969, 60971, 60990, 60993, 60994, 63742, 64729, 64730, 74964, 75247, 75248, 75249, 75250, 75251, 75252, 75253, 75254, 75255, 75256, 75257, 75258, 75259, 75260, 75261, 75264, 75265, 75268, 125496, 125497, 142960, 143011, 146925, 168835, 168837, 168838, 168839, 168840, 168841, 168842, 168843, 168844, 168852, 168853, 168854, 176058], u'rank': 627, u'id': 197, u'icon': u'trade_tailoring'}, {u'name': u'Enchanting', u'max': 675, u'recipes': [7418, 7421, 7428, 14293, 74236, 74238, 104395, 104398, 104414, 104417, 104420, 104425, 104440, 104445, 158907, 158908, 158909, 158910, 158911, 159236, 162948, 169091, 169092, 177043], u'rank': 622, u'id': 333, u'icon': u'trade_engraving'}], u'secondary': [{u'name': u'First Aid', u'max': 675, u'recipes': [3275, 102699, 172539, 172540, 172541, 172542], u'rank': 600, u'id': 129, u'icon': u'spell_holy_sealofsacrifice'}, {u'name': u'Archaeology', u'max': 0, u'recipes': [], u'rank': 0, u'id': 794, u'icon': u'trade_archaeology'}, {u'name': u'Fishing', u'max': 675, u'recipes': [], u'rank': 89, u'id': 356, u'icon': u'trade_fishing'}, {u'name': u'Cooking', u'max': 675, u'recipes': [2538, 2540, 8604, 161001, 161002], u'rank': 1, u'id': 185, u'icon': u'inv_misc_food_15'}]}, u'appearance': {u'faceVariation': 8, u'featureVariation': 2, u'hairColor': 9, u'showCloak': False, u'skinColor': 3, u'hairVariation': 8, u'showHelm': True}, u'totalHonorableKills': 0, u'class': 9, u'talents': [{u'selected': True, u'calcGlyph': u'ZWVc', u'calcSpec': u'b', u'calcTalent': u'110200.', u'talents': [{u'tier': 0, u'column': 1, u'spell': {u'id': 108370, u'castTime': u'Passive', u'description': u'Shadow Bolt, Soul Fire, Chaos Bolt, Shadowburn, Touch of Chaos, Incinerate, Haunt, and Drain Soul grant you and your pet shadowy shields that absorb a percentage of the damage they dealt for 15 sec.', u'name': u'Soul Leech', u'icon': u'warlock_siphonlife'}}, {u'tier': 1, u'column': 1, u'spell': {u'description': u"Horrifies an enemy target into fleeing, incapacitating them for 3 sec, and restores 11% of the caster's maximum health.", u'castTime': u'Instant', u'range': u'30 yd range', u'cooldown': u'45 sec cooldown', u'icon': u'ability_warlock_mortalcoil', u'id': 6789, u'name': u'Mortal Coil'}}, {u'tier': 2, u'column': 0, u'spell': {u'id': 108415, u'castTime': u'Passive', u'description': u'20% of all damage taken is split with your demon pet, and 3% of damage you deal heals you and your demon.', u'name': u'Soul Link', u'icon': u'ability_warlock_soullink'}}, {u'tier': 3, u'column': 2, u'spell': {u'description': u'Purges all Magic effects, movement impairing effects, and loss of control effects from yourself and your demon.', u'powerCost': u'20% of max health', u'castTime': u'Instant', u'cooldown': u'2 min cooldown', u'icon': u'warlock_spelldrain', u'id': 108482, u'name': u'Unbound Will'}}, {u'tier': 4, u'column': 0, u'spell': {u'id': 108499, u'castTime': u'Passive', u'description': u'You command stronger demons, replacing your normal minions. These demons deal 20% additional damage and have more powerful abilities. \n\n\n\nSpells Learned:\n\n Summon Fel Imp\n\n Summon Voidlord\n\n Summon Shivarra\n\n Summon Observer \n\n Summon Abyssal\n\n Summon Terrorguard', u'name': u'Grimoire of Supremacy', u'icon': u'warlock_grimoireofcommand'}}, {u'tier': 5, u'column': 0, u'spell': {u'id': 108505, u'castTime': u'Passive', u'description': u'Dark Soul now has 2 charges.', u'name': u"Archimonde's Darkness", u'icon': u'achievement_boss_archimonde'}}], u'glyphs': {u'major': [{u'item': 42454, u'glyph': 273, u'name': u'Glyph of Conflagrate', u'icon': u'spell_fire_fireball'}, {u'item': 0, u'glyph': 279, u'name': u'Glyph of Demon Training', u'icon': u'spell_shadow_summonfelhunter'}, {u'item': 0, u'glyph': 281, u'name': u'Glyph of Healthstone', u'icon': u'inv_stone_04'}], u'minor': [{u'item': 42457, u'glyph': 276, u'name': u'Glyph of Nightmares', u'icon': u'ability_mount_nightmarehorse'}]}, u'spec': {u'description': u'A master of chaos who calls down fire to burn and demolish enemies.', u'role': u'DPS', u'backgroundImage': u'bg-warlock-destruction', u'icon': u'spell_shadow_rainoffire', u'order': 2, u'name': u'Destruction'}}, {u'talents': [], u'glyphs': {u'major': [], u'minor': []}, u'calcTalent': u'', u'calcSpec': u'', u'calcGlyph': u''}], u'race': 5, u'calcClass': u'V', u'achievementPoints': 2225, u'gender': 0, u'stats': {u'bonusArmor': 0, u'critRating': 825, u'powerType': u'mana', u'multistrikeRating': 5.621212, u'mainHandDps': 132.29324, u'int': 3054, u'leechRatingBonus': 0.0, u'spr': 1160, u'spellCritRating': 825, u'avoidanceRating': 0.0, u'spellPower': 4234, u'rangedDps': -1.0, u'leechRating': 0.0, u'crit': 12.5, u'mastery': 37.99091, u'multistrike': 5.621212, u'versatilityDamageDoneBonus': 2.107692, u'armor': 547, u'avoidanceRatingBonus': 0.0, u'spellCrit': 12.5, u'mana5Combat': 60558.0, u'mana5': 60558.0, u'health': 237300, u'rangedDmgMax': -1.0, u'rangedDmgMin': -1.0, u'hasteRatingPercent': 4.41, u'leech': 0.0, u'versatilityDamageTakenBonus': 1.053846, u'dodge': 3.0, u'power': 160000, u'spellPen': 0, u'mainHandSpeed': 3.161, u'attackPower': 0, u'speedRating': 0.0, u'multistrikeRatingBonus': 0.621212, u'hasteRating': 441, u'masteryRating': 513, u'blockRating': 0, u'parry': 0.0, u'versatility': 274, u'parryRating': 0, u'dodgeRating': 0, u'sta': 3955, u'mainHandDmgMin': 334.0, u'speedRatingBonus': 0.0, u'mainHandDmgMax': 503.0, u'agi': 983, u'offHandDps': 0.265196, u'rangedSpeed': -1.0, u'versatilityHealingDoneBonus': 2.107692, u'offHandDmgMax': 1.0, u'haste': 4.410004, u'rangedAttackPower': 0, u'str': 550, u'offHandDmgMin': 0.0, u'block': 0.0, u'offHandSpeed': 1.916}, u'items': {u'shoulder': {u'stats': [{u'stat': 32, u'amount': 104}, {u'stat': 5, u'amount': 138}, {u'stat': 36, u'amount': 72}, {u'stat': 7, u'amount': 207}], u'name': u'Twin-Gaze Spaulders', u'tooltipParams': {u'transmogItem': 31054}, u'armor': 71, u'quality': 4, u'itemLevel': 640, u'context': u'raid-finder', u'bonusLists': [], u'id': 115997, u'icon': u'inv_shoulder_cloth_draenorlfr_c_01'}, u'averageItemLevelEquipped': 623, u'averageItemLevel': 623, u'neck': {u'stats': [{u'stat': 59, u'amount': 41}, {u'stat': 49, u'amount': 46}, {u'stat': 5, u'amount': 66}, {u'stat': 7, u'amount': 99}], u'name': u'Skywatch Adherent Locket', u'tooltipParams': {}, u'armor': 0, u'quality': 4, u'itemLevel': 592, u'context': u'quest-reward', u'bonusLists': [15], u'id': 114951, u'icon': u'inv_misc_necklace_6_0_024'}, u'trinket2': {u'stats': [{u'stat': 5, u'amount': 120}], u'name': u'Tormented Emblem of Flame', u'tooltipParams': {}, u'armor': 0, u'quality': 3, u'itemLevel': 600, u'context': u'dungeon-normal', u'bonusLists': [], u'id': 114367, u'icon': u'inv_jewelry_talisman_11'}, u'finger2': {u'stats': [{u'stat': 32, u'amount': 66}, {u'stat': 5, u'amount': 94}, {u'stat': 36, u'amount': 57}, {u'stat': 7, u'amount': 141}], u'name': u'Diamondglow Circle', u'tooltipParams': {}, u'armor': 0, u'quality': 3, u'itemLevel': 630, u'context': u'dungeon-heroic', u'bonusLists': [524], u'id': 109763, u'icon': u'inv_60dungeon_ring2d'}, u'trinket1': {u'stats': [{u'stat': 5, u'amount': 175}], u'name': u"Sandman's Pouch", u'tooltipParams': {}, u'armor': 0, u'quality': 4, u'itemLevel': 640, u'context': u'trade-skill', u'bonusLists': [525, 529], u'id': 112320, u'icon': u'inv_inscription_trinket_mage'}, u'finger1': {u'stats': [{u'stat': 40, u'amount': 54}, {u'stat': 49, u'amount': 77}, {u'stat': 5, u'amount': 103}, {u'stat': 7, u'amount': 155}], u'name': u'Solium Band of Wisdom', u'tooltipParams': {}, u'armor': 0, u'quality': 4, u'itemLevel': 640, u'context': u'quest-reward', u'bonusLists': [], u'id': 118291, u'icon': u'inv_misc_6oring_purplelv1'}, u'mainHand': {u'stats': [{u'stat': 40, u'amount': 81}, {u'stat': 5, u'amount': 139}, {u'stat': 36, u'amount': 99}, {u'stat': 7, u'amount': 208}, {u'stat': 45, u'amount': 795}], u'name': u'Staff of Trials', u'tooltipParams': {u'transmogItem': 32374}, u'armor': 0, u'quality': 3, u'itemLevel': 610, u'weaponInfo': {u'dps': 124.69697, u'damage': {u'max': 494, u'exactMax': 494.0, u'min': 329, u'exactMin': 329.0}, u'weaponSpeed': 3.3}, u'context': u'quest-reward', u'bonusLists': [], u'id': 119463, u'icon': u'inv_staff_2h_draenordungeon_c_05'}, u'chest': {u'stats': [{u'stat': 49, u'amount': 131}, {u'stat': 32, u'amount': 107}, {u'stat': 5, u'amount': 184}, {u'stat': 7, u'amount': 275}], u'name': u'Hexweave Robe of the Peerless', u'tooltipParams': {u'transmogItem': 31052}, u'armor': 94, u'quality': 4, u'itemLevel': 640, u'context': u'trade-skill', u'bonusLists': [50, 525, 538], u'id': 114813, u'icon': u'inv_cloth_draenorcrafted_d_01robe'}, u'wrist': {u'stats': [{u'stat': 32, u'amount': 63}, {u'stat': 5, u'amount': 94}, {u'stat': 36, u'amount': 63}, {u'stat': 7, u'amount': 141}], u'name': u'Bracers of Arcane Mystery', u'tooltipParams': {}, u'armor': 39, u'quality': 3, u'itemLevel': 630, u'context': u'dungeon-heroic', u'bonusLists': [524], u'id': 109864, u'icon': u'inv_cloth_draenordungeon_c_01bracer'}, u'back': {u'stats': [{u'stat': 49, u'amount': 57}, {u'stat': 32, u'amount': 66}, {u'stat': 5, u'amount': 94}, {u'stat': 7, u'amount': 141}], u'name': u'Drape of Frozen Dreams', u'tooltipParams': {}, u'armor': 44, u'quality': 3, u'itemLevel': 630, u'context': u'dungeon-heroic', u'bonusLists': [524], u'id': 109926, u'icon': u'inv_cape_draenordungeon_c_02_plate'}, u'hands': {u'stats': [{u'stat': 32, u'amount': 53}, {u'stat': 40, u'amount': 63}, {u'stat': 5, u'amount': 89}, {u'stat': 7, u'amount': 133}], u'name': u'Windshaper Gloves', u'tooltipParams': {u'transmogItem': 31050}, u'armor': 41, u'quality': 2, u'itemLevel': 593, u'context': u'quest-reward', u'bonusLists': [], u'id': 114689, u'icon': u'inv_cloth_draenorquest95_b_01glove'}, u'legs': {u'stats': [{u'stat': 49, u'amount': 101}, {u'stat': 32, u'amount': 118}, {u'stat': 5, u'amount': 167}, {u'stat': 7, u'amount': 251}], u'name': u'Lightbinder Leggings', u'tooltipParams': {u'transmogItem': 31053}, u'armor': 77, u'quality': 3, u'itemLevel': 630, u'context': u'dungeon-heroic', u'bonusLists': [524], u'id': 109807, u'icon': u'inv_cloth_draenordungeon_c_01pant'}, u'head': {u'stats': [{u'stat': 51, u'amount': 63}, {u'stat': 32, u'amount': 139}, {u'stat': 5, u'amount': 184}, {u'stat': 36, u'amount': 93}, {u'stat': 7, u'amount': 275}], u'name': u'Crown of Power', u'tooltipParams': {u'transmogItem': 31051}, u'armor': 77, u'quality': 4, u'itemLevel': 640, u'context': u'', u'bonusLists': [], u'id': 118942, u'icon': u'inv_crown_02'}, u'feet': {u'stats': [{u'stat': 32, u'amount': 70}, {u'stat': 5, u'amount': 97}, {u'stat': 36, u'amount': 57}, {u'stat': 7, u'amount': 146}], u'name': u'Windshaper Treads', u'tooltipParams': {}, u'armor': 51, u'quality': 3, u'itemLevel': 603, u'context': u'quest-reward', u'bonusLists': [171], u'id': 114684, u'icon': u'inv_cloth_draenorquest95_b_01boot'}, u'waist': {u'stats': [{u'stat': 49, u'amount': 101}, {u'stat': 40, u'amount': 76}, {u'stat': 5, u'amount': 138}, {u'stat': 7, u'amount': 207}], u'name': u'Hexweave Belt of the Harmonious', u'tooltipParams': {}, u'armor': 53, u'quality': 4, u'itemLevel': 640, u'context': u'trade-skill', u'bonusLists': [213, 525, 537], u'id': 114816, u'icon': u'inv_cloth_draenorcrafted_d_01belt'}}, u'thumbnail': u'internal-record-3676/42/119864362-avatar.jpg'}
    return data


@pytest.fixture
def char_data():
    """ sample Character data """
    data = {u'realm': u'Area 52', u'name': u'Jantman', u'battlegroup': u'Vindication', u'level': 100, u'professions': {u'primary': [{u'name': u'Tailoring', u'max': 675, u'rank': 627, u'id': 197, u'icon': u'trade_tailoring'}, {u'name': u'Enchanting', u'max': 675, u'rank': 622, u'id': 333, u'icon': u'trade_engraving'}], u'secondary': [{u'name': u'First Aid', u'max': 675, u'rank': 600, u'id': 129, u'icon': u'spell_holy_sealofsacrifice'}, {u'name': u'Archaeology', u'max': 0, u'rank': 0, u'id': 794, u'icon': u'trade_archaeology'}, {u'name': u'Fishing', u'max': 675, u'rank': 89, u'id': 356, u'icon': u'trade_fishing'}, {u'name': u'Cooking', u'max': 675, u'rank': 1, u'id': 185, u'icon': u'inv_misc_food_15'}]}, u'appearance': {u'faceVariation': 8, u'featureVariation': 2, u'hairColor': 9, u'showCloak': False, u'skinColor': 3, u'hairVariation': 8, u'showHelm': True}, u'totalHonorableKills': 0, u'class': 9, u'talents': [{u'selected': True, u'calcGlyph': u'ZWVc', u'calcSpec': u'b', u'calcTalent': u'110200.', u'talents': [{u'tier': 0, u'column': 1, u'spell': {u'castTime': u'Passive', u'description': u'Shadow Bolt, Soul Fire, Chaos Bolt, Shadowburn, Touch of Chaos, Incinerate, Haunt, and Drain Soul grant you and your pet shadowy shields that absorb a percentage of the damage they dealt for 15 sec.', u'id': 108370, u'name': u'Soul Leech', u'icon': u'warlock_siphonlife'}}, {u'tier': 1, u'column': 1, u'spell': {u'description': u"Horrifies an enemy target into fleeing, incapacitating them for 3 sec, and restores 11% of the caster's maximum health.", u'castTime': u'Instant', u'range': u'30 yd range', u'cooldown': u'45 sec cooldown', u'icon': u'ability_warlock_mortalcoil', u'id': 6789, u'name': u'Mortal Coil'}}, {u'tier': 2, u'column': 0, u'spell': {u'castTime': u'Passive', u'description': u'20% of all damage taken is split with your demon pet, and 3% of damage you deal heals you and your demon.', u'id': 108415, u'name': u'Soul Link', u'icon': u'ability_warlock_soullink'}}, {u'tier': 3, u'column': 2, u'spell': {u'description': u'Purges all Magic effects, movement impairing effects, and loss of control effects from yourself and your demon.', u'id': 108482, u'castTime': u'Instant', u'cooldown': u'2 min cooldown', u'icon': u'warlock_spelldrain', u'powerCost': u'20% of max health', u'name': u'Unbound Will'}}, {u'tier': 4, u'column': 0, u'spell': {u'castTime': u'Passive', u'description': u'You command stronger demons, replacing your normal minions. These demons deal 20% additional damage and have more powerful abilities. \n\n\n\nSpells Learned:\n\n Summon Fel Imp\n\n Summon Voidlord\n\n Summon Shivarra\n\n Summon Observer \n\n Summon Abyssal\n\n Summon Terrorguard', u'id': 108499, u'name': u'Grimoire of Supremacy', u'icon': u'warlock_grimoireofcommand'}}, {u'tier': 5, u'column': 0, u'spell': {u'castTime': u'Passive', u'description': u'Dark Soul now has 2 charges.', u'id': 108505, u'name': u"Archimonde's Darkness", u'icon': u'achievement_boss_archimonde'}}], u'glyphs': {u'major': [{u'item': 42454, u'glyph': 273, u'name': u'Glyph of Conflagrate', u'icon': u'spell_fire_fireball'}, {u'item': 0, u'glyph': 279, u'name': u'Glyph of Demon Training', u'icon': u'spell_shadow_summonfelhunter'}, {u'item': 0, u'glyph': 281, u'name': u'Glyph of Healthstone', u'icon': u'inv_stone_04'}], u'minor': [{u'item': 42457, u'glyph': 276, u'name': u'Glyph of Nightmares', u'icon': u'ability_mount_nightmarehorse'}]}, u'spec': {u'description': u'A master of chaos who calls down fire to burn and demolish enemies.', u'role': u'DPS', u'backgroundImage': u'bg-warlock-destruction', u'icon': u'spell_shadow_rainoffire', u'order': 2, u'name': u'Destruction'}}, {u'talents': [], u'glyphs': {u'major': [], u'minor': []}, u'calcTalent': u'', u'calcSpec': u'', u'calcGlyph': u''}], u'race': 5, u'calcClass': u'V', u'gender': 0, u'stats': {u'bonusArmor': 0, u'critRating': 825, u'spellCritRating': 825, u'multistrikeRating': 5.621212, u'mainHandDps': 132.29324, u'int': 3054, u'leechRatingBonus': 0.0, u'spr': 1160, u'powerType': u'mana', u'avoidanceRating': 0.0, u'spellPower': 4234, u'rangedDps': -1.0, u'leechRating': 0.0, u'crit': 12.5, u'multistrike': 5.621212, u'versatilityDamageDoneBonus': 2.107692, u'dodgeRating': 0, u'rangedSpeed': -1.0, u'armor': 547, u'avoidanceRatingBonus': 0.0, u'spellCrit': 12.5, u'mana5Combat': 60558.0, u'mana5': 60558.0, u'health': 237300, u'rangedDmgMax': -1.0, u'rangedDmgMin': -1.0, u'multistrikeRatingBonus': 0.621212, u'hasteRatingPercent': 4.41, u'leech': 0.0, u'hasteRating': 441, u'dodge': 3.0, u'power': 160000, u'spellPen': 0, u'mainHandSpeed': 3.161, u'attackPower': 0, u'speedRating': 0.0, u'parry': 0.0, u'masteryRating': 513, u'blockRating': 0, u'versatility': 274, u'parryRating': 0, u'mainHandDmgMax': 503.0, u'sta': 3955, u'mainHandDmgMin': 334.0, u'speedRatingBonus': 0.0, u'versatilityDamageTakenBonus': 1.053846, u'agi': 983, u'offHandDps': 0.265196, u'mastery': 37.99091, u'versatilityHealingDoneBonus': 2.107692, u'offHandDmgMax': 1.0, u'haste': 4.410004, u'rangedAttackPower': 0, u'str': 550, u'offHandDmgMin': 0.0, u'block': 0.0, u'offHandSpeed': 1.916}, u'items': {u'shoulder': {u'stats': [{u'stat': 32, u'amount': 104}, {u'stat': 5, u'amount': 138}, {u'stat': 36, u'amount': 72}, {u'stat': 7, u'amount': 207}], u'name': u'Twin-Gaze Spaulders', u'tooltipParams': {u'transmogItem': 31054}, u'armor': 71, u'itemLevel': 640, u'bonusLists': [], u'context': u'raid-finder', u'quality': 4, u'id': 115997, u'icon': u'inv_shoulder_cloth_draenorlfr_c_01'}, u'averageItemLevelEquipped': 623, u'averageItemLevel': 623, u'neck': {u'stats': [{u'stat': 59, u'amount': 41}, {u'stat': 49, u'amount': 46}, {u'stat': 5, u'amount': 66}, {u'stat': 7, u'amount': 99}], u'name': u'Skywatch Adherent Locket', u'tooltipParams': {}, u'armor': 0, u'itemLevel': 592, u'bonusLists': [15], u'context': u'quest-reward', u'quality': 4, u'id': 114951, u'icon': u'inv_misc_necklace_6_0_024'}, u'trinket2': {u'stats': [{u'stat': 5, u'amount': 120}], u'name': u'Tormented Emblem of Flame', u'tooltipParams': {}, u'armor': 0, u'itemLevel': 600, u'bonusLists': [], u'context': u'dungeon-normal', u'quality': 3, u'id': 114367, u'icon': u'inv_jewelry_talisman_11'}, u'finger2': {u'stats': [{u'stat': 32, u'amount': 66}, {u'stat': 5, u'amount': 94}, {u'stat': 36, u'amount': 57}, {u'stat': 7, u'amount': 141}], u'name': u'Diamondglow Circle', u'tooltipParams': {}, u'armor': 0, u'itemLevel': 630, u'bonusLists': [524], u'context': u'dungeon-heroic', u'quality': 3, u'id': 109763, u'icon': u'inv_60dungeon_ring2d'}, u'trinket1': {u'stats': [{u'stat': 5, u'amount': 175}], u'name': u"Sandman's Pouch", u'tooltipParams': {}, u'armor': 0, u'itemLevel': 640, u'bonusLists': [525, 529], u'context': u'trade-skill', u'quality': 4, u'id': 112320, u'icon': u'inv_inscription_trinket_mage'}, u'finger1': {u'stats': [{u'stat': 40, u'amount': 54}, {u'stat': 49, u'amount': 77}, {u'stat': 5, u'amount': 103}, {u'stat': 7, u'amount': 155}], u'name': u'Solium Band of Wisdom', u'tooltipParams': {}, u'armor': 0, u'itemLevel': 640, u'bonusLists': [], u'context': u'quest-reward', u'quality': 4, u'id': 118291, u'icon': u'inv_misc_6oring_purplelv1'}, u'mainHand': {u'stats': [{u'stat': 40, u'amount': 81}, {u'stat': 5, u'amount': 139}, {u'stat': 36, u'amount': 99}, {u'stat': 7, u'amount': 208}, {u'stat': 45, u'amount': 795}], u'tooltipParams': {u'transmogItem': 32374}, u'bonusLists': [], u'armor': 0, u'itemLevel': 610, u'name': u'Staff of Trials', u'weaponInfo': {u'dps': 124.69697, u'damage': {u'max': 494, u'exactMin': 329.0, u'exactMax': 494.0, u'min': 329}, u'weaponSpeed': 3.3}, u'context': u'quest-reward', u'quality': 3, u'id': 119463, u'icon': u'inv_staff_2h_draenordungeon_c_05'}, u'chest': {u'stats': [{u'stat': 49, u'amount': 131}, {u'stat': 32, u'amount': 107}, {u'stat': 5, u'amount': 184}, {u'stat': 7, u'amount': 275}], u'name': u'Hexweave Robe of the Peerless', u'tooltipParams': {u'transmogItem': 31052}, u'armor': 94, u'itemLevel': 640, u'bonusLists': [50, 525, 538], u'context': u'trade-skill', u'quality': 4, u'id': 114813, u'icon': u'inv_cloth_draenorcrafted_d_01robe'}, u'wrist': {u'stats': [{u'stat': 32, u'amount': 63}, {u'stat': 5, u'amount': 94}, {u'stat': 36, u'amount': 63}, {u'stat': 7, u'amount': 141}], u'name': u'Bracers of Arcane Mystery', u'tooltipParams': {}, u'armor': 39, u'itemLevel': 630, u'bonusLists': [524], u'context': u'dungeon-heroic', u'quality': 3, u'id': 109864, u'icon': u'inv_cloth_draenordungeon_c_01bracer'}, u'back': {u'stats': [{u'stat': 49, u'amount': 57}, {u'stat': 32, u'amount': 66}, {u'stat': 5, u'amount': 94}, {u'stat': 7, u'amount': 141}], u'name': u'Drape of Frozen Dreams', u'tooltipParams': {}, u'armor': 44, u'itemLevel': 630, u'bonusLists': [524], u'context': u'dungeon-heroic', u'quality': 3, u'id': 109926, u'icon': u'inv_cape_draenordungeon_c_02_plate'}, u'hands': {u'stats': [{u'stat': 32, u'amount': 53}, {u'stat': 40, u'amount': 63}, {u'stat': 5, u'amount': 89}, {u'stat': 7, u'amount': 133}], u'name': u'Windshaper Gloves', u'tooltipParams': {u'transmogItem': 31050}, u'armor': 41, u'itemLevel': 593, u'bonusLists': [], u'context': u'quest-reward', u'quality': 2, u'id': 114689, u'icon': u'inv_cloth_draenorquest95_b_01glove'}, u'legs': {u'stats': [{u'stat': 49, u'amount': 101}, {u'stat': 32, u'amount': 118}, {u'stat': 5, u'amount': 167}, {u'stat': 7, u'amount': 251}], u'name': u'Lightbinder Leggings', u'tooltipParams': {u'transmogItem': 31053}, u'armor': 77, u'itemLevel': 630, u'bonusLists': [524], u'context': u'dungeon-heroic', u'quality': 3, u'id': 109807, u'icon': u'inv_cloth_draenordungeon_c_01pant'}, u'head': {u'stats': [{u'stat': 51, u'amount': 63}, {u'stat': 32, u'amount': 139}, {u'stat': 5, u'amount': 184}, {u'stat': 36, u'amount': 93}, {u'stat': 7, u'amount': 275}], u'name': u'Crown of Power', u'tooltipParams': {u'transmogItem': 31051}, u'armor': 77, u'itemLevel': 640, u'bonusLists': [], u'context': u'', u'quality': 4, u'id': 118942, u'icon': u'inv_crown_02'}, u'feet': {u'stats': [{u'stat': 32, u'amount': 70}, {u'stat': 5, u'amount': 97}, {u'stat': 36, u'amount': 57}, {u'stat': 7, u'amount': 146}], u'name': u'Windshaper Treads', u'tooltipParams': {}, u'armor': 51, u'itemLevel': 603, u'bonusLists': [171], u'context': u'quest-reward', u'quality': 3, u'id': 114684, u'icon': u'inv_cloth_draenorquest95_b_01boot'}, u'waist': {u'stats': [{u'stat': 49, u'amount': 101}, {u'stat': 40, u'amount': 76}, {u'stat': 5, u'amount': 138}, {u'stat': 7, u'amount': 207}], u'name': u'Hexweave Belt of the Harmonious', u'tooltipParams': {}, u'armor': 53, u'itemLevel': 640, u'bonusLists': [213, 525, 537], u'context': u'trade-skill', u'quality': 4, u'id': 114816, u'icon': u'inv_cloth_draenorcrafted_d_01belt'}}, u'thumbnail': u'internal-record-3676/42/119864362-avatar.jpg'}
    return data
