mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
Used not installed extension in CreateExtension() tests.
uuid-ossp was already installed.
This commit is contained in:
parent
7c947f0f5a
commit
73216aaaa9
@ -158,7 +158,7 @@ class CreateExtensionTests(PostgreSQLTestCase):
|
||||
|
||||
@override_settings(DATABASE_ROUTERS=[NoExtensionRouter()])
|
||||
def test_no_allow_migrate(self):
|
||||
operation = CreateExtension('uuid-ossp')
|
||||
operation = CreateExtension('tablefunc')
|
||||
project_state = ProjectState()
|
||||
new_state = project_state.clone()
|
||||
# Don't create an extension.
|
||||
@ -173,7 +173,7 @@ class CreateExtensionTests(PostgreSQLTestCase):
|
||||
self.assertEqual(len(captured_queries), 0)
|
||||
|
||||
def test_allow_migrate(self):
|
||||
operation = CreateExtension('uuid-ossp')
|
||||
operation = CreateExtension('tablefunc')
|
||||
project_state = ProjectState()
|
||||
new_state = project_state.clone()
|
||||
# Create an extension.
|
||||
|
Loading…
Reference in New Issue
Block a user