From 3512191f3e8f3c4ac537746dc35f34631e7a19ba Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Tue, 28 Mar 2023 11:45:55 -0700 Subject: [PATCH] Add check_repositories regression fix to NEWS (#662). --- NEWS | 3 +++ setup.py | 2 +- tests/unit/config/test_validate.py | 6 +++--- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/NEWS b/NEWS index 9bc9ebf..7f2353d 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +1.7.11.dev0 + * #662: Fix regression in which "check_repositories" option failed to match repositories. + 1.7.10 * #396: When a database command errors, display and log the error message instead of swallowing it. * #501: Optionally error if a source directory does not exist via "source_directories_must_exist" diff --git a/setup.py b/setup.py index c368211..bc4e4b7 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ from setuptools import find_packages, setup -VERSION = '1.7.10' +VERSION = '1.7.11.dev0' setup( diff --git a/tests/unit/config/test_validate.py b/tests/unit/config/test_validate.py index d5606bd..11f3127 100644 --- a/tests/unit/config/test_validate.py +++ b/tests/unit/config/test_validate.py @@ -37,7 +37,7 @@ def test_validation_error_string_contains_errors(): assert 'uh oh' in result -def test_apply_locical_validation_raises_if_unknown_repository_in_check_repositories(): +def test_apply_logical_validation_raises_if_unknown_repository_in_check_repositories(): flexmock(module).format_json_error = lambda error: error.message with pytest.raises(module.Validation_error): @@ -51,7 +51,7 @@ def test_apply_locical_validation_raises_if_unknown_repository_in_check_reposito ) -def test_apply_locical_validation_does_not_raise_if_known_repository_path_in_check_repositories(): +def test_apply_logical_validation_does_not_raise_if_known_repository_path_in_check_repositories(): module.apply_logical_validation( 'config.yaml', { @@ -62,7 +62,7 @@ def test_apply_locical_validation_does_not_raise_if_known_repository_path_in_che ) -def test_apply_locical_validation_does_not_raise_if_known_repository_label_in_check_repositories(): +def test_apply_logical_validation_does_not_raise_if_known_repository_label_in_check_repositories(): module.apply_logical_validation( 'config.yaml', {