summaryrefslogtreecommitdiff
path: root/tests/proxy_model_inheritance
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-09-03 11:51:34 -0400
committerTim Graham <timograham@gmail.com>2013-09-03 11:51:34 -0400
commit3db66b1d65c12a94476017cbcc86e72fd842d29e (patch)
treeef333f7ca61a877e129bfd040a510045972d8b3b /tests/proxy_model_inheritance
parent8f7f8bf6884ada8622bc3696c7465c904164d314 (diff)
Updated syncdb -> migrate in tests.
Diffstat (limited to 'tests/proxy_model_inheritance')
-rw-r--r--tests/proxy_model_inheritance/tests.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/proxy_model_inheritance/tests.py b/tests/proxy_model_inheritance/tests.py
index dda09a080f..9941506303 100644
--- a/tests/proxy_model_inheritance/tests.py
+++ b/tests/proxy_model_inheritance/tests.py
@@ -17,9 +17,9 @@ from .models import (ConcreteModel, ConcreteModelSubclass,
@override_settings(INSTALLED_APPS=('app1', 'app2'))
class ProxyModelInheritanceTests(TransactionTestCase):
"""
- Proxy model inheritance across apps can result in syncdb not creating the table
+ Proxy model inheritance across apps can result in migrate not creating the table
for the proxied model (as described in #12286). This test creates two dummy
- apps and calls syncdb, then verifies that the table has been created.
+ apps and calls migrate, then verifies that the table has been created.
"""
available_apps = []
@@ -42,7 +42,7 @@ class ProxyModelInheritanceTests(TransactionTestCase):
def test_table_exists(self):
try:
cache.set_available_apps(settings.INSTALLED_APPS)
- call_command('syncdb', verbosity=0)
+ call_command('migrate', verbosity=0)
finally:
cache.unset_available_apps()
from .app1.models import ProxyModel