From 06cec1859966622029809a0147306df0453acbc9 Mon Sep 17 00:00:00 2001 From: Nanda Scott Date: Tue, 30 Oct 2018 13:38:22 -0400 Subject: [PATCH] Updated unittest --- unittests/TestCards.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unittests/TestCards.py b/unittests/TestCards.py index 0576977..9fa011d 100644 --- a/unittests/TestCards.py +++ b/unittests/TestCards.py @@ -77,8 +77,8 @@ class TestCardObjects(unittest.TestCase): "border_crop": "https://img.scryfall.com/cards/border_crop/en/ced/64.jpg?1517813031" }) self.assertEqual(non_online_card.image_uris(0, 'normal'), 'https://img.scryfall.com/cards/normal/en/ced/64.jpg?1517813031') - self.assertRaises(Exception, non_online_card.image_uris('normal')) - self.assertRaises(KeyError, non_online_card.image_uris(0, 'foo')) + self.assertRaises(Exception, non_online_card.image_uris, 'normal') + self.assertRaises(KeyError, non_online_card.image_uris, 0, 'foo') def test_cmc(self): self.assertIsInstance(non_online_card.cmc(), float)