mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-19 05:58:53 -04:00
Remove redundant postgres CloudFoundry fixture
This commit is contained in:
@@ -10,20 +10,13 @@ from app.cloudfoundry_config import (
|
|||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def postgres_config():
|
def cloudfoundry_config():
|
||||||
return [
|
return {
|
||||||
{
|
'postgres': [{
|
||||||
'credentials': {
|
'credentials': {
|
||||||
'uri': 'postgres uri'
|
'uri': 'postgres uri'
|
||||||
}
|
}
|
||||||
}
|
}],
|
||||||
]
|
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
|
||||||
def cloudfoundry_config(postgres_config):
|
|
||||||
return {
|
|
||||||
'postgres': postgres_config,
|
|
||||||
'user-provided': []
|
'user-provided': []
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user