opensistemas-hub / osbrain

osBrain - A general-purpose multi-agent system module written in Python
https://osbrain.readthedocs.io/en/stable/
Apache License 2.0
177 stars 43 forks source link

Move test fixtures to `conftest.py` #336

Closed Peque closed 5 years ago

Peque commented 5 years ago

Took the chance to add a conftest.py to this project too.

Plus some little clean-up.

codecov[bot] commented 5 years ago

Codecov Report

Merging #336 into master will decrease coverage by <.01%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #336      +/-   ##
==========================================
- Coverage   99.27%   99.26%   -0.01%     
==========================================
  Files          25       26       +1     
  Lines        3566     3549      -17     
  Branches      257      257              
==========================================
- Hits         3540     3523      -17     
  Misses         14       14              
  Partials       12       12
Impacted Files Coverage Δ
osbrain/tests/test_proxy.py 100% <ø> (ø) :arrow_up:
osbrain/tests/test_bugs.py 100% <ø> (ø) :arrow_up:
osbrain/tests/test_nameserver.py 98.1% <ø> (-0.01%) :arrow_down:
osbrain/tests/test_agent_serialization.py 100% <ø> (ø) :arrow_up:
osbrain/tests/test_agent_ipc_sockets.py 100% <ø> (ø) :arrow_up:
osbrain/tests/test_agent_req_rep.py 100% <ø> (ø) :arrow_up:
osbrain/tests/test_timer.py 99.02% <ø> (-0.01%) :arrow_down:
osbrain/tests/test_helper.py 100% <ø> (ø) :arrow_up:
osbrain/tests/test_logging.py 100% <ø> (ø) :arrow_up:
osbrain/tests/test_agent_async_requests.py 100% <ø> (ø) :arrow_up:
... and 9 more

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 f57345f...2ed8aee. Read the comment docs.