Exemple #1
0
 def test_string_nooptional_default(self):
     s = String()
     # As of 2019-07-10, the defaults are applied within the command input, so these can be null
     self.assertEqual("String?", s.wdl(has_default=True).get_string())
Exemple #2
0
 def test_string_optional_default(self):
     s = String(optional=True)
     self.assertEqual("String?", s.wdl(has_default=True).get_string())
Exemple #3
0
 def test_string_nooptional_nodefault(self):
     s = String()
     self.assertEqual("String", s.wdl(has_default=False).get_string())