'Test the deletion of an order from the database'

@blocking_call_on_reactor_thread
def test_delete_order(self):

    self.database.add_order(self.order1)
    self.assertEqual(len(self.database.get_all_orders()), 1)
    self.database.delete_order(self.order_id1)
    self.assertEqual(len(self.database.get_all_orders()), 0)
