def test_mobile_device_constant_path(): criterion_id = "squid" expected = "mobileDeviceConstants/{criterion_id}".format( criterion_id=criterion_id, ) actual = MobileDeviceConstantServiceClient.mobile_device_constant_path( criterion_id) assert expected == actual
def test_parse_mobile_device_constant_path(): expected = { "criterion_id": "clam", } path = MobileDeviceConstantServiceClient.mobile_device_constant_path( **expected) # Check that the path construction is reversible. actual = MobileDeviceConstantServiceClient.parse_mobile_device_constant_path( path) assert expected == actual