mirror of
https://github.com/evennia/evennia.git
synced 2026-03-24 00:36:30 +01:00
Made unittest suite finish without errors using new proxy system.
This commit is contained in:
parent
71b6600d87
commit
2782e03478
9 changed files with 73 additions and 60 deletions
|
|
@ -1,9 +1,5 @@
|
|||
try:
|
||||
# this is an optimized version only available in later Django versions
|
||||
from django.utils.unittest import TestCase
|
||||
except ImportError:
|
||||
# if the first fails, we use the old version
|
||||
from django.test import TestCase
|
||||
# this is an optimized version only available in later Django versions
|
||||
from django.utils.unittest import TestCase
|
||||
|
||||
from src.scripts.models import ScriptDB, ObjectDoesNotExist
|
||||
from src.utils.create import create_script
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue