mirror of
https://github.com/jazzband/django-analytical.git
synced 2026-03-16 22:20:25 +00:00
Tests migrate instead of syncdb
The latter is obsolete and have been replaced by the former.
This commit is contained in:
parent
87be940822
commit
b833f37f95
1 changed files with 1 additions and 3 deletions
|
|
@ -28,9 +28,7 @@ class ChartbeatTagTestCaseNoSites(TestCase):
|
|||
class ChartbeatTagTestCaseWithSites(TestCase):
|
||||
def setUp(self):
|
||||
from django.core.management import call_command
|
||||
from django.db.models import loading
|
||||
loading.cache.loaded = False
|
||||
call_command("syncdb", verbosity=0)
|
||||
call_command("migrate", verbosity=0)
|
||||
|
||||
def test_rendering_setup_site(self):
|
||||
site = Site.objects.create(domain="test.com", name="test")
|
||||
|
|
|
|||
Loading…
Reference in a new issue