From 4f160663b4636bb5b54510ec53f987a8d9ebbce0 Mon Sep 17 00:00:00 2001 From: Paul Haesler Date: Thu, 2 Nov 2023 08:51:02 +1100 Subject: [PATCH] lintage. --- tests/test_cfg.py | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/tests/test_cfg.py b/tests/test_cfg.py index 75d85d18f..755e1d157 100644 --- a/tests/test_cfg.py +++ b/tests/test_cfg.py @@ -190,16 +190,15 @@ def test_oldstyle_cfg(): from datacube.cfg.api import ODCConfig with pytest.warns(UserWarning, match=r'default_environment.*no longer supported'): cfg = ODCConfig(text=""" -default: - index_driver: memory -env2: - index_driver: memory -env3: - index_driver: memory -user: - default_environment: env3 -""" - ) + default: + index_driver: memory + env2: + index_driver: memory + env3: + index_driver: memory + user: + default_environment: env3 + """) assert cfg[None]._name == 'default'