IRC-SPHERE / HyperStream

HyperStream
https://irc-sphere.github.io/HyperStream/
MIT License
13 stars 5 forks source link

Can not pass test_loggers unittest in local machine #30

Closed perellonieto closed 6 years ago

perellonieto commented 6 years ago

In master branch, I do not manage to pass the test_loggers in this lines.

I am not sure what is the problem, as when I pushed my master branch Travis succeeds.

======================================================================
FAIL: Test the MQTT logger using the standard format
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/hyperstream/sphere-hyperstream/hyperstream_core/tests/test_loggers.py", line 64, in test_mqtt_logger
    assert(str(client.last_messages["topics/test"].decode("utf8")[24:]) == '[MON  ]  1234567890')
AssertionError: 
-------------------- >> begin captured stdout << ---------------------
Connected with result code 0
topics/test 2018-02-21 17:44:43.232000+00:00 ABC
{u'topics/test': '2018-02-21 17:44:43.232000+00:00 ABC'}
00+00:00 ABC
perellonieto commented 6 years ago

I see that it is a problem with MQTT in my local machine. Trying to solve now.

perellonieto commented 6 years ago

Problem solved MQTT was not running in my local machine.