def testConstructor_007(self): """ Test assignment of user attribute, valid value. """ mysql = MysqlConfig() self.assertEqual(None, mysql.user) mysql.user = "******" self.assertEqual("user", mysql.user)
def testConstructor_006(self): """ Test assignment of user attribute, None value. """ mysql = MysqlConfig(user="******") self.assertEqual("user", mysql.user) mysql.user = None self.assertEqual(None, mysql.user)