示例#1
0
	def testNoValue(self):
		value = EVChartMacro.getValue(self.db.cursor(), -1)
		assert value == 0, 'Invalid value'
示例#2
0
 def testNoValue(self):
     value = EVChartMacro.getValue(self.db.cursor(), -1)
     assert value == 0, 'Invalid value'
示例#3
0
	def testValidValue(self):
		value = EVChartMacro.getValue(self.db.cursor(), TestCaseInformation.getTicketNumber())
		assert value == TestCaseInformation.getTicketEstimatedHours(), 'Invalid value'
示例#4
0
 def testValidValue(self):
     value = EVChartMacro.getValue(self.db.cursor(),
                                   TestCaseInformation.getTicketNumber())
     assert value == TestCaseInformation.getTicketEstimatedHours(
     ), 'Invalid value'