'Test the insertion and retrieval of an order in the database'

@blocking_call_on_reactor_thread
def test_add_get_order(self):

    self.database.add_order(self.order1)
    orders = self.database.get_all_orders()
    self.assertEqual(len(orders), 1)
