Fix unit test issue with server name when running from mygame settings
This commit is contained in:
parent
0de0a71026
commit
75b5dd43d7
2 changed files with 4 additions and 2 deletions
|
|
@ -2,6 +2,7 @@
|
|||
Module containing the test cases for the Audit system.
|
||||
"""
|
||||
|
||||
from anything import Anything
|
||||
from django.test import override_settings
|
||||
from django.conf import settings
|
||||
from evennia.utils.test_resources import EvenniaTest
|
||||
|
|
@ -85,7 +86,7 @@ class AuditingTest(EvenniaTest):
|
|||
self.assertEqual(obj, {
|
||||
'direction': 'RCV',
|
||||
'protocol': 'telnet',
|
||||
'application': 'Evennia',
|
||||
'application': Anything, # this will change if running tests from the game dir
|
||||
'text': 'hello'
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue