AnemoneLabs / unmessage

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

Create a separate class for serialization #79

Closed felipedau closed 7 years ago

felipedau commented 7 years ago

These changes separate serialization from the Element class so that any class can be serialized by subclassing Serializable.

codecov-io commented 7 years ago

Codecov Report

Merging #79 into develop will increase coverage by 0.23%. The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop      #79      +/-   ##
===========================================
+ Coverage    47.01%   47.24%   +0.23%     
===========================================
  Files           29       30       +1     
  Lines         4307     4341      +34     
===========================================
+ Hits          2025     2051      +26     
- Misses        2282     2290       +8
Impacted Files Coverage Δ
tests/test_elements.py 100% <100%> (ø) :arrow_up:
tests/test_serializable.py 100% <100%> (ø)
unmessage/elements.py 100% <100%> (+0.86%) :arrow_up:
unmessage/utils.py 95.23% <100%> (+0.87%) :arrow_up:
unmessage/errors.py 67.1% <0%> (-3.95%) :arrow_down:
unmessage/ui.py 41.17% <0%> (-1.48%) :arrow_down:
unmessage/peer.py 75.96% <0%> (-0.5%) :arrow_down:

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 8625dce...6200598. Read the comment docs.