1
0
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:
Frantisek Holop 2020-05-25 11:24:34 +02:00 committed by Mariusz Felisiak
parent 7c947f0f5a
commit 73216aaaa9

View File

@ -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.