maxbbraun / trump2cash

A stock trading bot powered by Trump tweets
https://trump2cash.biz
MIT License
6.27k stars 858 forks source link

Tests failing #40

Closed Dotnaught closed 7 years ago

Dotnaught commented 7 years ago

`E assert [{'exchange':...cker': 'BLK'}] == [{'exchange': ...cker': 'PNC'}] E At index 0 diff: {'root': u'PNC Financial Services', 'ticker': u'PNC', 'name': u'Bayer', 'exchange': u'New York Stock Exchange'} != {'ticker': 'BLK', 'root': 'BlackRock', 'name': 'Bayer', 'exchange': 'New York Stock Exchange'} E Full diff: E - [{'exchange': u'New York Stock Exchange', E ? - E + [{'exchange': 'New York Stock Exchange', E - 'name': u'Bayer', E ? - E + 'name': 'Bayer', E - 'root': u'PNC Financial Services', E Detailed information truncated (17 more lines), use "-vv" to show

analysis_tests.py:86: AssertionError`

and

`E assert [{'exchange':...t': 0.4, ...}] == [{'exchange': ...t': 0.4, ...}] E At index 0 diff: {'root': u'PNC Financial Services', 'ticker': u'PNC', 'name': u'Bayer', 'sentiment': 0.4, 'exchange': u'New York Stock Exchange'} != {'ticker': 'BLK', 'root': 'BlackRock', 'name': 'Bayer', 'sentiment': 0.4, 'exchange': 'New York Stock Exchange'} E Full diff: E - [{'exchange': u'New York Stock Exchange', E ? - E + [{'exchange': 'New York Stock Exchange', E - 'name': u'Bayer', E ? - E + 'name': 'Bayer', E - 'root': u'PNC Financial Services', E Detailed information truncated (19 more lines), use "-vv" to show

analysis_tests.py:312: AssertionError ===================== 2 failed, 46 passed in 41.57 seconds ===================== `