mirror of
https://github.com/evennia/evennia.git
synced 2026-03-24 00:36:30 +01:00
Reverting change to audit unittests for now, need to fix later
This commit is contained in:
parent
7fa0909529
commit
295db26a18
1 changed files with 4 additions and 2 deletions
|
|
@ -7,14 +7,16 @@ from django.conf import settings
|
|||
from evennia.utils.test_resources import EvenniaTest
|
||||
import re
|
||||
|
||||
# Configure session auditing settings
|
||||
# Configure session auditing settings - TODO: This is bad practice that leaks over to other tests
|
||||
settings.AUDIT_CALLBACK = "evennia.security.contrib.auditing.outputs.to_syslog"
|
||||
settings.AUDIT_IN = True
|
||||
settings.AUDIT_OUT = True
|
||||
settings.AUDIT_ALLOW_SPARSE = True
|
||||
|
||||
# Configure settings to use custom session - TODO: This is bad practice, changing global settings
|
||||
settings.SERVER_SESSION_CLASS = "evennia.contrib.security.auditing.server.AuditedServerSession"
|
||||
|
||||
|
||||
@override_settings(SERVER_SESSION_CLASS="evennia.contrib.security.auditing.server.AuditedServerSession")
|
||||
class AuditingTest(EvenniaTest):
|
||||
|
||||
def test_mask(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue