Closed BethanyG closed 4 years ago
Merging #140 into master will increase coverage by
1.43%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## master #140 +/- ##
==========================================
+ Coverage 81.44% 82.88% +1.43%
==========================================
Files 29 29
Lines 469 479 +10
==========================================
+ Hits 382 397 +15
+ Misses 87 82 -5
Impacted Files | Coverage Δ | |
---|---|---|
project/resources/serializers.py | 100.00% <100.00%> (ø) |
|
project/resources/models.py | 93.33% <0.00%> (+3.33%) |
:arrow_up: |
project/resources/views.py | 72.72% <0.00%> (+4.54%) |
:arrow_up: |
project/tagging/serializers.py | 91.66% <0.00%> (+8.33%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update d289ecd...5d99fa0. Read the comment docs.
Should fix #125.
Added
class MediaTypeSerializerField(serializers.ChoiceField)
with ato_representation
and ato_internal_value
to properly resolve thechoices
on theResource.media_type
field for Resources. inresources/serializers.py
Corrected and un-commented the
create_one_resource_with_media_type
test case and added a newcreate_one_resource_without_media_type
test case for coverage. inresources/tests.py