mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-14 10:13:21 +00:00
10 lines
275 B
Python
10 lines
275 B
Python
from django.core.management import call_command
|
|
from django.test.runner import DiscoverRunner
|
|
|
|
|
|
class SithTestRunner(DiscoverRunner):
|
|
def setup_databases(self, **kwargs):
|
|
res = super().setup_databases(**kwargs)
|
|
call_command("populate")
|
|
return res
|