本文整理汇总了Python中testfunctions.IbmDbTestFunctions.assert_expect方法的典型用法代码示例。如果您正苦于以下问题:Python IbmDbTestFunctions.assert_expect方法的具体用法?Python IbmDbTestFunctions.assert_expect怎么用?Python IbmDbTestFunctions.assert_expect使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类testfunctions.IbmDbTestFunctions
的用法示例。
在下文中一共展示了IbmDbTestFunctions.assert_expect方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: test_142_BindParamSelectStmtMultipleParams_02
# 需要导入模块: from testfunctions import IbmDbTestFunctions [as 别名]
# 或者: from testfunctions.IbmDbTestFunctions import assert_expect [as 别名]
def test_142_BindParamSelectStmtMultipleParams_02(self):
obj = IbmDbTestFunctions()
obj.assert_expect(self.run_test_142)
示例2: test_createDropDB
# 需要导入模块: from testfunctions import IbmDbTestFunctions [as 别名]
# 或者: from testfunctions.IbmDbTestFunctions import assert_expect [as 别名]
def test_createDropDB(self):
obj = IbmDbTestFunctions()
if (obj.server.DBMS_NAME == "DB2") or (obj.server.DBMS_NAME[0:3] != "DB2"):
raise unittest.SkipTest("createdb, dropdb not Supported")
obj.assert_expect(self.run_test_createDropDB)
示例3: test_221_100PersistentConns
# 需要导入模块: from testfunctions import IbmDbTestFunctions [as 别名]
# 或者: from testfunctions.IbmDbTestFunctions import assert_expect [as 别名]
def test_221_100PersistentConns(self):
obj = IbmDbTestFunctions()
obj.assert_expect(self.run_test_221)
示例4: test_131_PrepareExecuteSelectStatementParams
# 需要导入模块: from testfunctions import IbmDbTestFunctions [as 别名]
# 或者: from testfunctions.IbmDbTestFunctions import assert_expect [as 别名]
def test_131_PrepareExecuteSelectStatementParams(self):
obj = IbmDbTestFunctions()
obj.assert_expect(self.run_test_131)
示例5: test_044_FetchTupleMany_04
# 需要导入模块: from testfunctions import IbmDbTestFunctions [as 别名]
# 或者: from testfunctions.IbmDbTestFunctions import assert_expect [as 别名]
def test_044_FetchTupleMany_04(self):
obj = IbmDbTestFunctions()
obj.assert_expect(self.run_test_044)
示例6: test_008_ColumnInfo
# 需要导入模块: from testfunctions import IbmDbTestFunctions [as 别名]
# 或者: from testfunctions.IbmDbTestFunctions import assert_expect [as 别名]
def test_008_ColumnInfo(self):
obj = IbmDbTestFunctions()
obj.assert_expect(self.run_test_008)
示例7: test_6561_InsertNULLValues
# 需要导入模块: from testfunctions import IbmDbTestFunctions [as 别名]
# 或者: from testfunctions.IbmDbTestFunctions import assert_expect [as 别名]
def test_6561_InsertNULLValues(self):
obj = IbmDbTestFunctions()
obj.assert_expect(self.run_test_6561)
示例8: test_034_FetchAssoc
# 需要导入模块: from testfunctions import IbmDbTestFunctions [as 别名]
# 或者: from testfunctions.IbmDbTestFunctions import assert_expect [as 别名]
def test_034_FetchAssoc(self):
obj = IbmDbTestFunctions()
obj.assert_expect(self.run_test_034)
示例9: test_162_FetchBothNestedSelects_02
# 需要导入模块: from testfunctions import IbmDbTestFunctions [as 别名]
# 或者: from testfunctions.IbmDbTestFunctions import assert_expect [as 别名]
def test_162_FetchBothNestedSelects_02(self):
obj = IbmDbTestFunctions()
obj.assert_expect(self.run_test_162)
示例10: test_031_ResultIndexPosition
# 需要导入模块: from testfunctions import IbmDbTestFunctions [as 别名]
# 或者: from testfunctions.IbmDbTestFunctions import assert_expect [as 别名]
def test_031_ResultIndexPosition(self):
obj = IbmDbTestFunctions()
obj.assert_expect(self.run_test_031)
示例11: test_022_RollbackInsert
# 需要导入模块: from testfunctions import IbmDbTestFunctions [as 别名]
# 或者: from testfunctions.IbmDbTestFunctions import assert_expect [as 别名]
def test_022_RollbackInsert(self):
obj = IbmDbTestFunctions()
obj.assert_expect(self.run_test_022)
示例12: test_035_FetchRow_01
# 需要导入模块: from testfunctions import IbmDbTestFunctions [as 别名]
# 或者: from testfunctions.IbmDbTestFunctions import assert_expect [as 别名]
def test_035_FetchRow_01(self):
obj = IbmDbTestFunctions()
obj.assert_expect(self.run_test_035)
示例13: test_071_CloseSuccess
# 需要导入模块: from testfunctions import IbmDbTestFunctions [as 别名]
# 或者: from testfunctions.IbmDbTestFunctions import assert_expect [as 别名]
def test_071_CloseSuccess(self):
obj = IbmDbTestFunctions()
obj.assert_expect(self.run_test_071)
示例14: test_115_NumericTest_02
# 需要导入模块: from testfunctions import IbmDbTestFunctions [as 别名]
# 或者: from testfunctions.IbmDbTestFunctions import assert_expect [as 别名]
def test_115_NumericTest_02(self):
obj = IbmDbTestFunctions()
obj.assert_expect(self.run_test_115)
示例15: test_144_BindParamInsertStmtPARAM_FILE
# 需要导入模块: from testfunctions import IbmDbTestFunctions [as 别名]
# 或者: from testfunctions.IbmDbTestFunctions import assert_expect [as 别名]
def test_144_BindParamInsertStmtPARAM_FILE(self):
obj = IbmDbTestFunctions()
obj.assert_expect(self.run_test_144)