dodo5522 / solar_monitor

TS-MPPT-60 logger application
2 stars 0 forks source link

testに失敗する #5

Closed dodo5522 closed 8 years ago

dodo5522 commented 8 years ago

https://travis-ci.org/dodo5522/solar_monitor/builds/112770513

FAIL: test_exec_ (test_hook_keenio.TestKeenioHandler)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/dodo5522/solar_monitor/test/test_hook_keenio.py", line 60, in test_exec_
    {'value': 53.41, 'unit': 'V', 'group': 'Array', 'source': 'solar', 'keen': {'timestamp': args['at'].isoformat() + 'Z'}, 'label': 'Array Voltage'}
AssertionError: {'offgrid': [{'unit': 'V', 'value': 53.41, 'source': 'solar', 'keen': {'timestam [truncated]... != {'offgrid': [{'unit': 'A', 'value': 1.4, 'source': 'solar', 'label': 'Array Curr [truncated]...
  {'offgrid': [{'group': 'Array',
+               'keen': {'timestamp': '2016-03-01T04:21:47.922751Z'},
+               'label': 'Array Current',
+               'source': 'solar',
+               'unit': 'A',
+               'value': 1.4},
+              {'group': 'Array',
                'keen': {'timestamp': '2016-03-01T04:21:47.922751Z'},
                'label': 'Array Voltage',
                'source': 'solar',
                'unit': 'V',
-               'value': 53.41},
?                              ^
+               'value': 53.41}]}
?                              ^^
-              {'group': 'Array',
-               'keen': {'timestamp': '2016-03-01T04:21:47.922751Z'},
-               'label': 'Array Current',
-               'source': 'solar',
-               'unit': 'A',
-               'value': 1.4}]}