diff --git a/tests/resources.py b/tests/resources.py index d00228098..019d2e90a 100644 --- a/tests/resources.py +++ b/tests/resources.py @@ -206,7 +206,8 @@ def compare_outputs(self, outputs, raise_error=True): files[0], files[1])) shutil.move(files[0], files[1]) log_pattern = [os.path.join(os.path.dirname(x), '*.log') for x in new_truths] - generate_upload_schema(pattern=new_truths + log_pattern, + json_pattern = [os.path.join(os.path.dirname(x), '*.json') for x in new_truths] + generate_upload_schema(pattern=new_truths + log_pattern + json_pattern, testname=testname, target= tree)