Ran
|
Files
52
|
Run time
10s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
<a href="https://github.com/unioslo/mreg/commit/<a class=hub.com/unioslo/mreg/commit/<a class="double-link" href="https://git"><a class=hub.com/unioslo/mreg/commit/<a class="double-link" href="https://git"><a class=hub.com/unioslo/mreg/commit/<a class="double-link" href="https://git"><a class=hub.com/unioslo/mreg/commit/a3f1023c13db5eb747cc1395fdb4cc9cf8e9d251">a3f1023c1<a href="https://github.com/unioslo/mreg/commit/a3f1023c13db5eb747cc1395fdb4cc9cf8e9d251">">&lt;a href=&quot;https://github.com/unioslo/mreg/commit/</a><a class="double-link" href="https://github.com/unioslo/mreg/commit/&lt;a class=&quot;double-link&quot; href=&quot;https://git">&lt;a class=</a>hub.com/unioslo/mreg/commit/a3f1023c13db5eb747cc1395fdb4cc9cf8e9d251">a3f1023c1</a><a href="https://github.com/unioslo/mreg/commit/a3f1023c13db5eb747cc1395fdb4cc9cf8e9d251">&lt;a href=&quot;https://github.com/unioslo/mreg/commit/a3f1023c13db5eb747cc1395fdb4cc9cf8e9d251&quot;&gt;&amp;quot;&amp;gt;api: Allow empty values for macaddress. This addresses a</a> regression introduced in </a><a class="double-link" href="https://github.com/unioslo/mreg/commit/<a class="double-link" href="https://github.com/unioslo/mreg/commit/<a class="double-link" href="https://github.com/unioslo/mreg/commit/5b810831435a3b332d166b4ac187e82007a09421">5b8108314</a>">5b8108314</a>">5b8108314</a><a href="https://github.com/unioslo/mreg/commit/a3f1023c13db5eb747cc1395fdb4cc9cf8e9d251"> where empty values for MAC address would be silently ignored. Fixes #421. * mreg/api/v1/serializers.py (MacAddressSerializerField): Use CharField as base class. (IpaddressSerializer): Pass allow_blank=True for the macaddress serializer. * mreg/api/v1/tests/tests.py (APIMACaddressTestCase.te</a>st_mac_remove_mac_204_ok): Verify that emptying the MAC address actually works.
5799 of 5884 relevant lines covered (98.56%)
0.99 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|