mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Fix unittest hitting random exception
This commit is contained in:
parent
3692750637
commit
7c44294628
1 changed files with 1 additions and 1 deletions
|
|
@ -632,7 +632,7 @@ class TestDefaultCallables(TestCase):
|
|||
# single quotes are ignored, so this becomes many entries
|
||||
string = "$choice('Tiamat, queen of dragons', 'Dracula, lord of the night')"
|
||||
ret = self.parser.parse(string)
|
||||
self.assertIn(ret, ("'Tiamat", "queen of dragons'", "'Dracula", " lord of the night'"))
|
||||
self.assertIn(ret, ("'Tiamat", "queen of dragons'", "'Dracula", "lord of the night'"))
|
||||
|
||||
def test_randint(self):
|
||||
string = "$randint(1.0, 3.0)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue