def test_10(self): """TestPlotRecordSet.test_10(): value().""" myPrs = FileIndexer.PlotRecordSet() self.assertFalse(myPrs.canPlotFromInternalRecords()) self.assertFalse(myPrs.canPlotFromExternalRecords()) myPrs.tellFilm = 1 myPrs.tellPres = 1 myPrs.logPass = '******' self.assertTrue(myPrs)
def test_05(self): """TestPlotRecordSet.test_05(): tellPip setter and getter.""" myPrs = FileIndexer.PlotRecordSet() self.assertFalse(myPrs.canPlotFromInternalRecords()) self.assertFalse(myPrs.canPlotFromExternalRecords()) self.assertTrue(myPrs.tellPip is None) myPrs.tellPip = 1 self.assertEqual(1, myPrs.tellPip) self.assertFalse(myPrs.canPlotFromInternalRecords()) self.assertFalse(myPrs.canPlotFromExternalRecords())
def test_06(self): """TestPlotRecordSet.test_06(): logPass setter and getter.""" myPrs = FileIndexer.PlotRecordSet() self.assertFalse(myPrs.canPlotFromInternalRecords()) self.assertFalse(myPrs.canPlotFromExternalRecords()) self.assertTrue(myPrs.logPass is None) myPrs.logPass = '******' self.assertEqual('1', myPrs.logPass) self.assertFalse(myPrs.canPlotFromInternalRecords()) self.assertTrue(myPrs.canPlotFromExternalRecords())
def test_01(self): """TestPlotRecordSet.test_01(): Construction.""" myPrs = FileIndexer.PlotRecordSet() self.assertFalse(myPrs.canPlotFromInternalRecords()) self.assertFalse(myPrs.canPlotFromExternalRecords())