Skip to content

Commit 6daa19f

Browse files
committed
Fixed tests due to mana cost attirbute now being included
1 parent ddc6e15 commit 6daa19f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/tests_models.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,9 @@ def test_item_perfect_shot(self):
163163
content=load_resource("content_item_perfect_shot.txt"))
164164
item = models.Item.from_article(article)
165165
self.assertIsInstance(item, models.Item)
166-
self.assertEqual(11, len(item.attributes))
166+
self.assertEqual(12, len(item.attributes))
167+
self.assertIn("perfect_shot", item.attributes_dict)
168+
self.assertIn("perfect_shot_range", item.attributes_dict)
167169

168170
def test_key(self):
169171
article = Article(1, "Key 3940", timestamp="2018-08-20T04:33:15Z",

0 commit comments

Comments
 (0)