def test_validate_on_valid_unset(self): ts = TextString() # Check no exception thrown. ts.validate()
def test_validate_on_valid(self): ts = TextString() ts.value = 'Hello World' # Check no exception thrown. ts.validate()