We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2288674 commit ed437bfCopy full SHA for ed437bf
axelrod/tests/unit/test_actions.py
@@ -38,11 +38,11 @@ def test_from_char(self):
38
self.assertEqual(axl.Action.from_char("D"), D)
39
40
def test_from_char_error(self):
41
- self.assertRaises(UnknownActionError, Action.from_char, "")
42
- self.assertRaises(UnknownActionError, Action.from_char, "c")
43
- self.assertRaises(UnknownActionError, Action.from_char, "d")
44
- self.assertRaises(UnknownActionError, Action.from_char, "A")
45
- self.assertRaises(UnknownActionError, Action.from_char, "CC")
+ self.assertRaises(UnknownActionError, axl.Action.from_char, "")
+ self.assertRaises(UnknownActionError, axl.Action.from_char, "c")
+ self.assertRaises(UnknownActionError, axl.Action.from_char, "d")
+ self.assertRaises(UnknownActionError, axl.Action.from_char, "A")
+ self.assertRaises(UnknownActionError, axl.Action.from_char, "CC")
46
47
def test_str_to_actions(self):
48
self.assertEqual(str_to_actions(""), ())
0 commit comments