Beispiel #1
0
 def test_parse_optional_boolean_empty(self):
     self.assertEquals('', parsers.pulp_parse_optional_boolean(''))
Beispiel #2
0
 def test_parse_optional_boolean_none(self):
     self.assertEquals('', parsers.pulp_parse_optional_boolean(None))
Beispiel #3
0
 def test_parse_optional_boolean(self):
     self.assertEquals(True, parsers.pulp_parse_optional_boolean('true'))