Skip to content

Commit

Permalink
Fixed tests due to mana cost attirbute now being included
Browse files Browse the repository at this point in the history
  • Loading branch information
Galarzaa90 committed Aug 18, 2021
1 parent ddc6e15 commit 6daa19f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/tests_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,9 @@ def test_item_perfect_shot(self):
content=load_resource("content_item_perfect_shot.txt"))
item = models.Item.from_article(article)
self.assertIsInstance(item, models.Item)
self.assertEqual(11, len(item.attributes))
self.assertEqual(12, len(item.attributes))
self.assertIn("perfect_shot", item.attributes_dict)
self.assertIn("perfect_shot_range", item.attributes_dict)

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

0 comments on commit 6daa19f

Please sign in to comment.