def test_parse_mobile_app_category_constant_path(): expected = { "mobile_app_category_id": "clam", } path = MobileAppCategoryConstantServiceClient.mobile_app_category_constant_path(**expected) # Check that the path construction is reversible. actual = MobileAppCategoryConstantServiceClient.parse_mobile_app_category_constant_path(path) assert expected == actual
def test_mobile_app_category_constant_path(): mobile_app_category_id = "squid" expected = "mobileAppCategoryConstants/{mobile_app_category_id}".format(mobile_app_category_id=mobile_app_category_id, ) actual = MobileAppCategoryConstantServiceClient.mobile_app_category_constant_path(mobile_app_category_id) assert expected == actual