Skip to content

Commit

Permalink
Merge branch 'develop-1.9' into postgis-migrations
Browse files Browse the repository at this point in the history
# Conflicts:
#	integration_tests/conftest.py
  • Loading branch information
SpacemanPaul committed Dec 6, 2023
2 parents 9839159 + 5be0e6e commit ede3cd8
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions integration_tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,8 +440,14 @@ def datacube_env_name_pair(request) -> tuple[str, str]:


@pytest.fixture
def odc_config() -> ODCConfig:
return ODCConfig(paths=CONFIG_FILE_PATHS)
def local_config(datacube_env_name):
"""Provides a :class:`LocalConfig` configured with suitable config file paths.
.. seealso::
The :func:`integration_config_paths` fixture sets up the config files.
"""
return LocalConfig.find(CONFIG_FILE_PATHS, env=datacube_env_name)


@pytest.fixture
Expand Down

0 comments on commit ede3cd8

Please sign in to comment.