diff options
Diffstat (limited to 'test_callow.py')
-rwxr-xr-x | test_callow.py | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/test_callow.py b/test_callow.py index f19f3dc..72d25ff 100755 --- a/test_callow.py +++ b/test_callow.py @@ -49,28 +49,6 @@ class Test_cardInformationParsing(unittest.TestCase): def test_correctLoyaltyIsParsed(self): self.assertEqual(cardbase.getLoyalty(self.page), "") -class Test_additionalCardData(unittest.TestCase): - - @classmethod - def setUpClass(cls): - cls.card = cardbase.fetchCard("bok", "31a") - - def test_cardHasCorrectEdition(self): - self.assertEqual(self.card.edition, "bok") - - def test_cardHasCorrectScan(self): - self.assertEqual(self.card.scan, "http://magiccards.info/scans/en/bok/31a.jpg") - - def test_cardHasCorrectNumber(self): - self.assertEqual(self.card.number, "31a") - - -class Test_cardPageFetching(unittest.TestCase): - - # Tests - def test_correctUrlIsBuilt(self): - self.assertEqual(cardbase.makeUrl("bok", "31a"), "http://magiccards.info/bok/en/31a.html") - def test(): unittest.main(exit=False) |