X-Git-Url: https://git.ctpug.org.za/?p=naja.git;a=blobdiff_plain;f=naja%2Ftests%2Ftest_gameboard.py;h=cccd9aae88be92758b1ab658292423fdf2a532b9;hp=4675968fd50e375c1f58a1be072399429213acae;hb=2bc3952e185343ae2ff75f3f8ed738561858f61b;hpb=0e194e3fdf803dca638aff1d0c40b2d70cfe4b4e diff --git a/naja/tests/test_gameboard.py b/naja/tests/test_gameboard.py index 4675968..cccd9aa 100644 --- a/naja/tests/test_gameboard.py +++ b/naja/tests/test_gameboard.py @@ -357,14 +357,3 @@ class TestLocationCard(TestCase): self.assertEqual(type(action), actions.DoNothing) self.assertEqual(action.required_bits, set()) self.assertEqual(location.replacement_time, None) - - def test_parse_bits(self): - self.assertEqual( - LocationCard.parse_bits([]), frozenset([])) - self.assertEqual( - LocationCard.parse_bits(['RED']), frozenset([BITS.RED])) - self.assertEqual( - LocationCard.parse_bits([BITS.BLUE]), frozenset([BITS.BLUE])) - self.assertEqual( - LocationCard.parse_bits([BITS.NORTH, 'MSB']), - frozenset([BITS.NORTH, BITS.MSB]))