def test_sanitize_order_default_price(self):
        market = Market(None)
        self.assertEqual(market.sanitize_order(
            {'direction':BUY, 'agent': None})['price'], 'unset sellbook')
        self.assertEqual(market.sanitize_order(
            {'direction':SELL, 'agent': None})['price'], 'unset buybook')
If no price is given, price is best limit
dataset/ETHPy150Open jcbagneris/fms/tests/markets.py/MarketTests.test_sanitize_order_default_price