AnemoneLabs / unmessage

Privacy enhanced instant messenger
GNU General Public License v3.0
42 stars 7 forks source link

Test packets #80

Closed felipedau closed 6 years ago

felipedau commented 6 years ago

These are changes made after reviewing the tests for the packets module. More tests were written and the module was simplified by reusing code for building and packing packet classes.

codecov-io commented 6 years ago

Codecov Report

Merging #80 into develop will increase coverage by 0.61%. The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop      #80      +/-   ##
===========================================
+ Coverage    47.24%   47.86%   +0.61%     
===========================================
  Files           30       30              
  Lines         4341     4383      +42     
===========================================
+ Hits          2051     2098      +47     
+ Misses        2290     2285       -5
Impacted Files Coverage Δ
unmessage/elements.py 100% <ø> (ø) :arrow_up:
tests/test_packets.py 100% <100%> (ø) :arrow_up:
tests/test_elements.py 100% <100%> (ø) :arrow_up:
unmessage/packets.py 100% <100%> (+4.95%) :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 fdd2b7b...0f0f37c. Read the comment docs.