mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-16 15:45:04 +08:00
add validator to optional test
This commit is contained in:
@@ -91,7 +91,9 @@ class TestParameterParsing(BaseParameterTestCase):
|
||||
def test_parse_optional(self):
|
||||
param = self._parameter_for(
|
||||
xml="""
|
||||
<param type="text" name="texti" value="mydefault" />
|
||||
<param type="text" name="texti" value="mydefault">
|
||||
<validator type="empty_field" />
|
||||
</param>
|
||||
"""
|
||||
)
|
||||
assert param.optional is False
|
||||
|
||||
Reference in New Issue
Block a user