Skip to content

Commit

Permalink
remove commented out section at end of API tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JLoveUOA committed Sep 10, 2024
1 parent 3dfbce7 commit b75cd5e
Showing 1 changed file with 0 additions and 33 deletions.
33 changes: 0 additions & 33 deletions tests/test_apis.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,36 +209,3 @@ def test_update_medical_entity(
assert updated_medical_condition == test_updated_medical_condition


# def test_mytardis_rest_agent_fail(
# test_metadata_response: Dict[str, Any],
# auth: AuthConfig,
# ) -> None:
# mt_rest_agent = MyTardisRestAgent(auth, CONNECTION__HOSTNAME, None, False)
# schema_stub = "schema/?namespace="
# responses.add(
# responses.GET,
# mt_rest_agent.api_template + schema_stub + test_schema_namespace,
# status=200,
# json=test_metadata_response,
# )

# datafiles, meta = mt_client.get("/dataset_file")

# mytardis_api_request()
# assert isinstance(datafiles, list)
# assert is_list_of(datafiles, IngestedDatafile)
# assert len(datafiles) == 1
# assert datafiles[0].resource_uri == URI("/api/v1/dataset_file/0/")
# assert datafiles[0].filename == "test_filename.txt"

# assert isinstance(meta, GetResponseMeta)
# assert meta.total_count == 1

## test with no auth


## test icd-11 get token

## test ICD-11 get item

## test update medical condition

0 comments on commit b75cd5e

Please sign in to comment.