Skip to content

Commit

Permalink
Merge pull request #1491 from shaangill025/1490_json_ld_test_fix
Browse files Browse the repository at this point in the history
DIF PresExch Tests - temporary update to fix pyld.jsonld.JsonLdError
  • Loading branch information
swcurran authored Nov 15, 2021
2 parents a2fb21c + 50c37fd commit f6b74cd
Show file tree
Hide file tree
Showing 2 changed files with 173 additions and 257 deletions.
84 changes: 0 additions & 84 deletions aries_cloudagent/protocols/present_proof/dif/tests/test_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -1625,25 +1625,6 @@ def create_vcrecord(cred_dict: dict, expanded_types: list):
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://w3id.org/security/bbs/v1",
{
"MedicalPass": {
"@id": "https://www.vdel.com/MedicalPass",
"@context": {
"description": "http://schema.org/description",
"identifier": "http://schema.org/identifier",
"name": "http://schema.org/name",
"image": "http://schema.org/image",
},
}
},
{
"Patient": {
"@id": "http://hl7.org/fhir/Patient",
"@context": [
"https://fhircat.org/fhir-r5/rdf-r5/contexts/patient.context.jsonld"
],
}
},
],
"id": "urn:bnid:_:c14n4",
"type": ["MedicalPass", "VerifiableCredential"],
Expand Down Expand Up @@ -1674,71 +1655,6 @@ def create_vcrecord(cred_dict: dict, expanded_types: list):
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://w3id.org/security/bbs/v1",
{
"LabReport": {
"@id": "https://www.vdel.com/LabReport",
"@context": {
"description": "http://schema.org/description",
"identifier": "http://schema.org/identifier",
"name": "http://schema.org/name",
"image": "http://schema.org/image",
},
}
},
{
"Specimen": {
"@id": "http://hl7.org/fhir/Specimen",
"@context": [
None,
"https://fhircat.org/fhir-r5/rdf-r5/contexts/specimen.context.jsonld",
],
}
},
{
"Observation": {
"@id": "http://hl7.org/fhir/Observation",
"@context": [
None,
"https://fhircat.org/fhir-r5/rdf-r5/contexts/observation.context.jsonld",
],
}
},
{
"Organization": {
"@id": "http://hl7.org/fhir/Organization",
"@context": [
None,
"https://fhircat.org/fhir-r5/rdf-r5/contexts/organization.context.jsonld",
],
}
},
{
"Practitioner": {
"@id": "http://hl7.org/fhir/Practitioner",
"@context": [
None,
"https://fhircat.org/fhir-r5/rdf-r5/contexts/practitioner.context.jsonld",
],
}
},
{
"DiagnosticReport": {
"@id": "http://hl7.org/fhir/DiagnosticReport",
"@context": [
None,
"https://fhircat.org/fhir-r5/rdf-r5/contexts/diagnosticreport.context.jsonld",
],
}
},
{
"PractitionerRole": {
"@id": "http://hl7.org/fhir/PractitionerRole",
"@context": [
None,
"https://fhircat.org/fhir-r5/rdf-r5/contexts/practitionerrole.context.jsonld",
],
}
},
],
"type": ["VerifiableCredential", "LabReport"],
"issuer": "did:key:zUC74FYQCzCbDpbVm9v1LVCc2RkxJY3XMdxV9UpsVaerTgEAAjpdWfE8WemccfdNhski3kHiXfLzPZW2wgsvSCkZFWV3zSNxQEqZoV8kVpwLtLzzpskRcskBB3M3DxaeBnDvK4H",
Expand Down
Loading

0 comments on commit f6b74cd

Please sign in to comment.