def test_field_dump_decorator(self): test_field = Field('test_field') dump_function = str test_field = test_field.dump(dump_function) assert test_field.to_str == dump_function
def test_field_dump_decorator(self): test_field = Field('test_field') dump_function = str test_field = test_field.dump(dump_function) assert test_field.to_str == dump_function
def test_field_load_decorator(self): test_field = Field('test_field') load_function = int test_field = test_field.dump(load_function) assert test_field.to_str == load_function
def test_field_load_decorator(self): test_field = Field('test_field') load_function = int test_field = test_field.dump(load_function) assert test_field.to_str == load_function