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')
Generate each doctest.
dataset/ETHPy150Open jcbagneris/fms/tests/markets.py/MarketTests.test_sanitize_order_default_price--crossover with--dataset/ETHPy150Open formencode/formencode/formencode/tests/test_doctests.py/test_doctests