def mock_soup(): return get_soup(mock_html)
def coders_dataset(): soup = get_soup() mc_data = generate_enchantments(soup) items = generate_items(mc_data) return items
def test_generate_enchantments_from_source(): soup = get_soup() data = generate_enchantments(soup) assert len(data.keys()) == 37 assert data["efficiency"].max_level == 5