Errors in the mana cost exception tests, causing them to not actually test anything
This commit is contained in:
parent
c3a80c3ef2
commit
cd179365e7
1 changed files with 3 additions and 3 deletions
4
test.py
4
test.py
|
@ -23,9 +23,9 @@ class TestManaCostMath(unittest.TestCase):
|
|||
self.assertEquals(0, result.mana['R'])
|
||||
self.assertEquals(1, result.mana['W'])
|
||||
def test_subtract_manacost_from_mana_insufficient_addtl(self):
|
||||
self.assertRaises(Exception, lambda: Mana('RRW'), ManaCost('3R'))
|
||||
self.assertRaises(Exception, lambda: Mana('RRW') - ManaCost('3R'))
|
||||
def test_subtract_manacost_from_mana_insufficient_color(self):
|
||||
self.assertRaises(Exception, lambda: Mana('RRW'), ManaCost('2U'))
|
||||
self.assertRaises(Exception, lambda: Mana('RRW') - ManaCost('2U'))
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
Loading…
Reference in a new issue