def test_replace_false_value_not_exists(self):
     d = {"user": "******"}
     s = "%(project)s" % formatters._ReplaceFalseValue(d)
     self.assertEqual("-", s)
示例#2
0
 def test_replace_false_value_not_exists(self):
     d = {"user": "******"}
     s = "%(project)s" % formatters._ReplaceFalseValue(d)
     self.assertEqual("-", s)
 def test_replace_false_value_exists(self):
     d = {"user": "******"}
     s = "%(user)s" % formatters._ReplaceFalseValue(d)
     self.assertEqual(d['user'], s)
示例#4
0
 def test_replace_false_value_exists(self):
     d = {"user": "******"}
     s = "%(user)s" % formatters._ReplaceFalseValue(d)
     self.assertEqual(d['user'], s)