1
0
mirror of https://github.com/ilri/csv-metadata-quality.git synced 2024-11-22 05:45:02 +01:00

Add tests/test_check.py: fix test
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Alan Orth 2022-11-28 22:12:17 +03:00
parent 3532175748
commit 58e956360a
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -510,5 +510,5 @@ def test_country_not_matching_region(capsys):
captured = capsys.readouterr() captured = capsys.readouterr()
assert ( assert (
captured.out captured.out
== f"{Fore.YELLOW}Missing region ({missing_region}): {Fore.RESET}{title}\n" == f"{Fore.YELLOW}Missing region ({country} → {missing_region}): {Fore.RESET}{title}\n"
) )