From 73216aaaa97e141133d3d0ba28983125bded2b9f Mon Sep 17 00:00:00 2001 From: Frantisek Holop Date: Mon, 25 May 2020 11:24:34 +0200 Subject: [PATCH] Used not installed extension in CreateExtension() tests. uuid-ossp was already installed. --- tests/postgres_tests/test_operations.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/postgres_tests/test_operations.py b/tests/postgres_tests/test_operations.py index 7bcf6b2300..0a9d8040ef 100644 --- a/tests/postgres_tests/test_operations.py +++ b/tests/postgres_tests/test_operations.py @@ -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.