def setUp(self): """ Initialize the Cloudant database """ Supplier.init_db("test") Supplier.remove_all()
def data_reset(): """ Removes all Suppliers from the database """ Supplier.remove_all()
def setUp(self): self.app = app.test_client() initialize_logging(logging.INFO) Supplier.init_db("test") Supplier.remove_all()
def suppliers_reset(): """ Removes all suppliers from the database """ Supplier.remove_all() return make_response('', status.HTTP_204_NO_CONTENT)