Add check_repositories regression fix to NEWS (#662).

This commit is contained in:
Dan Helfman 2023-03-28 11:45:55 -07:00
parent 06b5d81baa
commit 3512191f3e
3 changed files with 7 additions and 4 deletions

3
NEWS
View file

@ -1,3 +1,6 @@
1.7.11.dev0
* #662: Fix regression in which "check_repositories" option failed to match repositories.
1.7.10 1.7.10
* #396: When a database command errors, display and log the error message instead of swallowing it. * #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" * #501: Optionally error if a source directory does not exist via "source_directories_must_exist"

View file

@ -1,6 +1,6 @@
from setuptools import find_packages, setup from setuptools import find_packages, setup
VERSION = '1.7.10' VERSION = '1.7.11.dev0'
setup( setup(

View file

@ -37,7 +37,7 @@ def test_validation_error_string_contains_errors():
assert 'uh oh' in result 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 flexmock(module).format_json_error = lambda error: error.message
with pytest.raises(module.Validation_error): 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( module.apply_logical_validation(
'config.yaml', '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( module.apply_logical_validation(
'config.yaml', 'config.yaml',
{ {