Skip to content

Commit

Permalink
more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joofio committed Oct 5, 2023
1 parent 05cba15 commit e69ea77
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@

def test_focusing_pregnancy():
# Opening JSON file
f = open('../fsh-generated/resources/Bundle-processedbundledovato-en.json')
#f = open('../fsh-generated/resources/Bundle-processedbundledovato-en.json')

# returns JSON object as
# a dictionary
data = json.load(f)
#data = json.load(f)
x=requests.post("http://fosps.gravitatehealth.eu/focusing/focus/bundlepackageleaflet-2d49ae46735143c1323423b7aea24165?preprocessors=preprocessing-service-manual&lenses=lens-selector-mvp2_pregnancy&patientIdentifier=alicia-1")
return True
assert x.status_code == 200


#def test_calculate_area_square_negative():
# with pytest.raises(TypeError):
Expand Down

0 comments on commit e69ea77

Please sign in to comment.