From 06aba23adbb281ff64a82059a07ffde95c361e6d Mon Sep 17 00:00:00 2001 From: Ben Thorner Date: Tue, 12 Apr 2022 14:40:09 +0100 Subject: [PATCH] Remove redundant postgres CloudFoundry fixture --- tests/app/test_cloudfoundry_config.py | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/tests/app/test_cloudfoundry_config.py b/tests/app/test_cloudfoundry_config.py index 6a8a128e4..d77887502 100644 --- a/tests/app/test_cloudfoundry_config.py +++ b/tests/app/test_cloudfoundry_config.py @@ -10,20 +10,13 @@ from app.cloudfoundry_config import ( @pytest.fixture -def postgres_config(): - return [ - { +def cloudfoundry_config(): + return { + 'postgres': [{ 'credentials': { 'uri': 'postgres uri' } - } - ] - - -@pytest.fixture -def cloudfoundry_config(postgres_config): - return { - 'postgres': postgres_config, + }], 'user-provided': [] }