Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
naknomum committed Nov 15, 2023
1 parent 0f69978 commit e153586
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/extensions/export/resources/test_export_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ def test_export_api(
# ok, cuz... exporter
resp = export_utils.export_search(flask_app_client, exporter, query)
assert resp.content_type == 'application/vnd.ms-excel'
# now lets test encounter export too
resp = export_utils.export_search(
flask_app_client, admin_user, {}, class_name='encounters'
)
assert resp.content_type == 'application/vnd.ms-excel'
assert resp.content_length > 1000
export_utils.clear_files()


Expand Down

0 comments on commit e153586

Please sign in to comment.