Ejemplo n.º 1
0
 def testConstructor_010(self):
     """
   Test assignment of password attribute, valid value.
   """
     mysql = MysqlConfig()
     self.failUnlessEqual(None, mysql.password)
     mysql.password = "******"
     self.failUnlessEqual("password", mysql.password)
Ejemplo n.º 2
0
 def testConstructor_009(self):
     """
   Test assignment of password attribute, None value.
   """
     mysql = MysqlConfig(password="******")
     self.failUnlessEqual("password", mysql.password)
     mysql.password = None
     self.failUnlessEqual(None, mysql.password)