def mock_cast_string(x): assert x == data.NONE_MAGIC_VALUE return casts._cast_string(x)
def mock_cast_string(x): assert x == "somevalue" return casts._cast_string(x)
def mock_cast_string(x): assert x == NONE_MAGIC_VALUE return casts._cast_string(x)
def mock_cast_string(x): assert x == 'somevalue' return casts._cast_string(x)