Skip to content

Commit

Permalink
To fix failing tests - Change default schema URL to version 1.3.0 (#392)
Browse files Browse the repository at this point in the history
* Updated known Issue List

* Updated known issue listing

* Enhanced Error Handling Capability to be able to flag invalid JSON files as knwon failures and updated Known Issue List.

* Enhanced Error Handling Capability to be able to flag invalid JSON files as knwon failures and updated Known Issue List.

* Update dgc-testdata-verification.yml

* Update dgc-testdata-verification.yml

* Update dgc-testdata-verification.yml

* Update dgc-testdata-verification.yml

* Update requirements.txt

* Update dgc-testdata-verification.yml

* Update dgc-testdata-verification.yml

* Update requirements.txt

* Enhanced error handling and reporting for test_picture_decode

* Fix for #213 -> test script is stricter than spec and Updated Known Issue List

* Updated Known Issue List

* Enhanced Test Coverage for SI and LV Test Dataset

* Revert test code changes for LV and SI

* Updated Known Issue List

* Update known_issues.csv

* Update known_issues.csv

* Only one type of certificate with one entry is allowed. Ref #161

* Update known issues list

* Update known issues list

* Handle datetime with and without fraction for comparison

* Handle datetime with and without fraction for comparison. Use schema version 1.3 and updated known_issues.csv

* Support multiple schema versions for validation.

* Updated known issue list

* Change default schema URL to version 1.3.0

Co-authored-by: Daniel Eder <danieleder@outlook.at>
  • Loading branch information
bhavin-qryptal and daniel-eder committed Aug 26, 2021
1 parent d142b8d commit 4ec6d5e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_ehealth_certs.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,9 @@ def _get_hcert_schema(version: str):
elif version == '1.3.0':
return load_uri('https://raw.githubusercontent.com/ehn-digital-green-development/ehn-dgc-schema/release/1.3.0/'
'DCC.combined-schema.json')
else:
return load_uri('https://id.uvci.eu/DGC.schema.json')
else: # Change default schema URL to version 1.3.0
return load_uri('https://raw.githubusercontent.com/ehn-digital-green-development/ehn-dgc-schema/release/1.3.0/'
'DCC.combined-schema.json')


def pytest_generate_tests(metafunc):
Expand Down

0 comments on commit 4ec6d5e

Please sign in to comment.