mirror of
https://github.com/evennia/evennia.git
synced 2026-04-07 00:45:22 +02:00
Fix unit tests
This commit is contained in:
parent
89ffa84c01
commit
423023419b
1 changed files with 2 additions and 0 deletions
|
|
@ -82,6 +82,8 @@ class TestEvMenu(TestCase):
|
|||
self.assertIsNotNone(
|
||||
bool(node_text),
|
||||
"node: {}: node-text is None, which was not expected.".format(nodename))
|
||||
if isinstance(node_text, tuple):
|
||||
node_text, helptext = node_text
|
||||
node_text = ansi.strip_ansi(node_text.strip())
|
||||
self.assertTrue(
|
||||
node_text.startswith(compare_text),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue