From fed8b6debb1b94d8e4d29aa12d95dbb01b1e2418 Mon Sep 17 00:00:00 2001 From: Iago Alonso Date: Sat, 15 May 2021 12:29:30 +0200 Subject: [PATCH] Rename file causing `check-json` to fail - `mv duplicated_key_json.{json,notjson}` - change reference to the file in `tests/check_json_test.py` Fixes #600 --- .../{duplicate_key_json.json => duplicate_key_json.notjson} | 0 tests/check_json_test.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename testing/resources/{duplicate_key_json.json => duplicate_key_json.notjson} (100%) diff --git a/testing/resources/duplicate_key_json.json b/testing/resources/duplicate_key_json.notjson similarity index 100% rename from testing/resources/duplicate_key_json.json rename to testing/resources/duplicate_key_json.notjson diff --git a/tests/check_json_test.py b/tests/check_json_test.py index e010faa..3ec67f1 100644 --- a/tests/check_json_test.py +++ b/tests/check_json_test.py @@ -9,7 +9,7 @@ from testing.util import get_resource_path ('bad_json.notjson', 1), ('bad_json_latin1.nonjson', 1), ('ok_json.json', 0), - ('duplicate_key_json.json', 1), + ('duplicate_key_json.notjson', 1), ), ) def test_main(capsys, filename, expected_retval):