def test_item_option6(self,client): res = client.options('/item/rent/0') assert res.status_code == 200
def test_item_option3(self,client): res = client.options('/item/listall') assert res.status_code == 200
def test_item_option5(self,client): res = client.options('/item/me/activate/0') assert res.status_code == 200
def testUsersOption(self, client): """Test options function in user resource file""" res = client.options('/v1/users') assert res.status_code == 200
def testAdminAllOptions(self, client): """test options function for /users/all endpoint""" res = client.options('/v1/users/all') assert res.status_code == 200
def test_transaction_option2(self,client): res = client.options('/transaction/me/list') assert res.status_code == 200
def test_user_detail_option1(self,client): res = client.options('/user/me/detail') assert res.status_code == 200
def testOptionsRewardHistories2(self, client): """test options function at /reward_history/user endpoint""" res = client.options('/v1/reward_history/user') assert res.status_code == 200
def test_user_option2(self,client): res = client.options('/user/me') assert res.status_code == 200
def testOptionsTrashCategories(self, client): """Test options function in resource""" res = client.options('/v1/trash_category') assert res.status_code == 200
def testAuthOption2(self, client): """test options function for /auth/refresh endpoint""" res = client.options('/v1/auth/refresh') assert res.status_code == 200
def testGoogleMapOptions(self, client): """test options function in GoogleMapResources""" res = client.options('/v1/google_maps') assert res.status_code == 200
def testUserOrderOptions(self, client): """test options function for /orders/user endpoint""" res = client.options('/v1/orders/user') assert res.status_code == 200
def testAttrributeOptions(self, client): """test options function for /user_attributes endpoint""" res = client.options('/v1/user_attributes') assert res.status_code == 200
def test_cart_option2(self,client): res = client.options('/cart/list') assert res.status_code == 200
def test_auth_option1(self,client): res = client.options('/public/login') assert res.status_code == 200
def test_cart_option3(self,client): res = client.options('/cart/checkout') assert res.status_code == 200
def test_shop_option1(self,client): res = client.options('/shop/addnew') assert res.status_code == 200
def test_transaction_option5(self,client): res = client.options('/transaction/shop/done/0') assert res.status_code == 200
def test_shop_option3(self,client): res = client.options('/shop/list') assert res.status_code == 200
def test_user_option1(self,client): res = client.options('/user/addnew') assert res.status_code == 200
def test_shop_option5(self,client): res = client.options('/shop/me/activate') assert res.status_code == 200
def testRewardOption(self, client): """test options function for /rewards endpoint""" res = client.options('/v1/rewards/3') assert res.status_code == 200
def testOptionsAdmin(self, client): """test options function at /user/admin endpoint""" res = client.options('/v1/users/admin') assert res.status_code == 200