mirror of
https://github.com/nikdoof/pyzkb.git
synced 2025-12-14 18:42:17 +00:00
Fix tests and raise exception if a non parameter modifier is supplied with an argument.
This commit is contained in:
@@ -57,9 +57,9 @@ class TestZKillboard(unittest.TestCase):
|
||||
self.assertTrue(len(x._modifiers) == 1)
|
||||
|
||||
def test_xml_format_set(self):
|
||||
self.kb.xml()
|
||||
self.assertTrue(len(self.kb._modifiers), 1)
|
||||
self.assertTrue(self.kb._xml_format)
|
||||
x = self.kb.xml()
|
||||
self.assertTrue(len(x._modifiers), 1)
|
||||
self.assertTrue(x._xml_format)
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user