Skip to content

test_order_book AssertionError on 1btcxe #2

Description

@d3brouille
  • 1btcxe returns 'ask' and 'bid' when you ask it for the order book.
  • test_order_book looks for 'asks' and 'bids'

Result: the test raises an AssertionError

example output:
FAIL: test_order_book (clients.TestAPI)

Traceback (most recent call last):
File "clients.py", line 91, in test_order_book
self.assertIn('asks', raw_book)
AssertionError: 'asks' not found in {u'order-book': {u'ask': [{u'timestamp': u'1445696607', u'price': u'281.84', u'converted_from': None, u'order_value': u'200.11', u'order_amount': u'0.71000000'},

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions