示例#1
0
 def setUp(self):
     self.validate = IsValidDatabaseConnectionSection.load(self.DATA)
示例#2
0
 def test_orange_two(self):
     validate = IsValidDatabaseConnectionSection.load(self.DATA,
                                             also_validate_schema=False)
     self.assertTrue(validate('db.orange'))