opensistemas-hub / osbrain

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

Fix resulting host when binding to a specific one #247

Closed Peque closed 6 years ago

Peque commented 6 years ago

Even if the user set a different host, the bind always used the agent's default (i.e.: 127.0.0.1).

Fixes #246.

codecov[bot] commented 6 years ago

Codecov Report

Merging #247 into master will increase coverage by <.01%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #247      +/-   ##
==========================================
+ Coverage   99.07%   99.08%   +<.01%     
==========================================
  Files          26       26              
  Lines        3477     3481       +4     
  Branches      249      250       +1     
==========================================
+ Hits         3445     3449       +4     
  Misses         20       20              
  Partials       12       12
Impacted Files Coverage Δ
osbrain/agent.py 97.7% <100%> (+0.01%) :arrow_up:
osbrain/tests/test_agent.py 100% <100%> (ø) :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 923423f...3649053. Read the comment docs.