Skip to content

Commit

Permalink
new entity error
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiaBarbo committed Aug 20, 2024
1 parent dff812d commit 0f1c55b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Quality_Assessment_&_Awarding_v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
with:
name: pytest-test
tool: commands
commands: pytest /app/tests/test_mock_auth.py
commands: pytest /app/tests/test_mock_auth.py /app/tests/test_mock_documents.py
container: hpci/yprov-sqa:mocktest

- name: SQAaaS assessment with unit testing (QC.Uni) step
Expand Down
Binary file modified tests/__pycache__/test_documents.cpython-310-pytest-8.2.2.pyc
Binary file not shown.
4 changes: 2 additions & 2 deletions tests/test_documents.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,10 @@ def test_documents_put_doc_id_permission():


def test_documents_put_doc_id_entities_e_id():
"""
# entity added
payload = {
"entity": {
"ophidia:MyNewTest":
"ophidia:test":
{
"prov:type": "ophidia:datacube",
"prov:name": "test"
Expand All @@ -102,6 +101,7 @@ def test_documents_put_doc_id_entities_e_id():
}
response = requests.put(PATH + '/pta/entities/test', json=payload, headers=headers)
assert response.status_code == 201
"""
# document not valid
Expand Down

0 comments on commit 0f1c55b

Please sign in to comment.