[pitivi] tests: Remove obscure test



commit 6b0da71a51215dc1e9de4d5d788bbeec62135b71
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Tue Apr 5 01:51:16 2016 +0200

    tests: Remove obscure test
    
    Differential Revision: https://phabricator.freedesktop.org/D885

 tests/test_project.py |   43 -------------------------------------------
 1 files changed, 0 insertions(+), 43 deletions(-)
---
diff --git a/tests/test_project.py b/tests/test_project.py
index 83e8de4..c66b64a 100644
--- a/tests/test_project.py
+++ b/tests/test_project.py
@@ -349,49 +349,6 @@ class TestProjectLoading(common.TestCase):
         finally:
             os.remove(xges_path)
 
-    def testAssetAddingRemovingAdding(self):
-        mainloop = common.create_main_loop()
-
-        def loadingProgressCb(project, progress, estimated_time,
-                              self, result, uris):
-
-            def readd(result, uris):
-                project.addUris(uris)
-                result[2] = True
-                mainloop.quit()
-
-            if progress < 100:
-                return
-
-            result[1] = True
-            assets = project.list_assets(GES.UriClip)
-            self.assertEqual(len(assets), 1)
-            asset = assets[0]
-            project.remove_asset(asset)
-            GLib.idle_add(readd, result, uris)
-
-        def loadedCb(project, timeline, result, uris):
-            result[0] = True
-            project.addUris(uris)
-
-        # Create a blank project and add an asset.
-        project = _createRealProject()
-        result = [False, False, False]
-        uris = [common.getSampleUri("tears_of_steel.webm")]
-        project.connect("loaded", loadedCb, result, uris)
-        project.connect("asset-loading-progress",
-                        loadingProgressCb, self,
-                        result, uris)
-
-        self.assertTrue(project.createTimeline())
-        mainloop.run()
-        self.assertTrue(
-            result[0], "Project creation failed to trigger signal: loaded")
-        self.assertTrue(
-            result[1], "Asset add failed to trigger asset-loading-progress"
-            "with progress == 100")
-        self.assertTrue(result[2], "Asset re-adding failed")
-
 
 class TestProjectSettings(common.TestCase):
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]