コード例 #1
0
ファイル: test_basic.py プロジェクト: brion/pitivi-work
    def testBasic(self):
        ptv = Pitivi()
        # was the pitivi object created
        self.assert_(ptv)

        # were the contents of pitivi properly created
        self.assertEqual(ptv.current_project, None)
        self.assert_(ptv.effects)

        # close pitivi
        ptv.shutdown()
コード例 #2
0
ファイル: test_basic.py プロジェクト: cymacs/pitivi
    def testBasic(self):
        ptv = Pitivi()
        # was the pitivi object created
        self.assert_(ptv)

        # were the contents of pitivi properly created
        self.assertEqual(ptv.current, None)
        self.assert_(ptv.effects)

        # was the unique instance object properly set
        self.assertEquals(pitivi.instance.PiTiVi, ptv)

        # close pitivi
        ptv.shutdown()

        # make sure the instance has been unset
        self.assertEquals(pitivi.instance.PiTiVi, None)
コード例 #3
0
ファイル: test_basic.py プロジェクト: jojva/pitivi
    def testBasic(self):
        ptv = Pitivi()
        # was the pitivi object created
        self.assert_(ptv)

        # were the contents of pitivi properly created
        self.assertEqual(ptv.current, None)
        self.assert_(ptv.effects)

        # was the unique instance object properly set
        self.assertEquals(pitivi.instance.PiTiVi, ptv)

        # close pitivi
        ptv.shutdown()

        # make sure the instance has been unset
        self.assertEquals(pitivi.instance.PiTiVi, None)