Conversation
application/x-gzip is a deprecated mimetype add unit test for determining gzip mimetype
Codecov Report
@@ Coverage Diff @@
## develop #172 +/- ##
========================================
Coverage 80.75% 80.75%
========================================
Files 63 63
Lines 4901 4901
========================================
Hits 3958 3958
Misses 943 943
Flags with carried forward coverage won't be shown. Click here to find out more.
|
|
sanity_check doesn't handle gzipped files yet. |
| acronym = "BRO-TST" | ||
| name = "SNOMED-CT TEST" | ||
| ontologyFile = "./test/data/ontology_files/BRO_v3.2.owl" | ||
| ontologyFile = "./test/data/ontology_files/BRO_v3.2.owl.gz" |
There was a problem hiding this comment.
I don't agree with this change at all. It's not a good practice to modify existing unit tests (that were developed for a reason) to test new functionality. Pull request #144 that introduced support for gzip files should have come with it's own set of unit tests. There was even a request for unit tests in the pull request conversation, but it doesn't appear that they were ever added.
There was a problem hiding this comment.
thanks for the feedback, overloading unit tests is less than ideal.
one of the purposes of this PR draft is to show that we are missing important unit tests.
follow up on #144
when I upload a new submission with a .gz file I get the following error:
this PR:
application/x-gziptoapplication/gzip