aboutsummaryrefslogtreecommitdiffstats
path: root/test_cardclass.py
diff options
context:
space:
mode:
Diffstat (limited to 'test_cardclass.py')
-rwxr-xr-xtest_cardclass.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/test_cardclass.py b/test_cardclass.py
index fc17d62..409bff4 100755
--- a/test_cardclass.py
+++ b/test_cardclass.py
@@ -1,12 +1,12 @@
#!/usr/bin/env python3
import unittest
-import cardbase
+import cardparser
class Test_cardClass(unittest.TestCase):
def setUp(self):
- self.card = cardbase.Card()
+ self.card = cardparser.Card()
# Tests
def test_cardHasTitle(self):
@@ -14,6 +14,9 @@ class Test_cardClass(unittest.TestCase):
def test_cardHasCost(self):
self.assertIsNotNone(self.card.cost)
+
+ def test_cardHasConvertedCost(self):
+ self.assertIsNotNone(self.card.convertedCost)
def test_cardHasColour(self):
self.assertIsNotNone(self.card.colour)