[pitivi/gtktimeline: 22/28] tests:validate: Move scenarios to a dedicated folder



commit b0017539db7b96de40b6ebeaa390f6364e9939c3
Author: Thibault Saunier <tsaunier gnome org>
Date:   Sat May 2 09:59:26 2015 +0200

    tests:validate: Move scenarios to a dedicated folder

 tests/validate-tests/pitivi.py                     |    3 ++-
 .../{ => scenarios}/select_clip.scenario           |    0
 .../{ => scenarios}/simple_play.scenario           |    0
 .../{ => scenarios}/simple_ripple.scenario         |    0
 .../{ => scenarios}/simple_split_clips.scenario    |    0
 5 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/tests/validate-tests/pitivi.py b/tests/validate-tests/pitivi.py
index d36d23d..fd319b5 100644
--- a/tests/validate-tests/pitivi.py
+++ b/tests/validate-tests/pitivi.py
@@ -28,7 +28,8 @@ TEST_MANAGER = "pitivi"
 
 def setup_tests(test_manager, options):
     print("Setting up Pitivi default tests")
-    options.pitivi_scenario_paths = [os.path.abspath(os.path.join(os.path.dirname(__file__)))]
+    options.pitivi_scenario_paths = [os.path.join(os.path.abspath(os.path.join(os.path.dirname(__file__))),
+                                                  "scenarios")]
     options.add_paths(os.path.abspath(os.path.join(os.path.dirname(__file__),
                       "..", "samples")))
     test_manager.register_defaults()
diff --git a/tests/validate-tests/select_clip.scenario b/tests/validate-tests/scenarios/select_clip.scenario
similarity index 100%
rename from tests/validate-tests/select_clip.scenario
rename to tests/validate-tests/scenarios/select_clip.scenario
diff --git a/tests/validate-tests/simple_play.scenario b/tests/validate-tests/scenarios/simple_play.scenario
similarity index 100%
rename from tests/validate-tests/simple_play.scenario
rename to tests/validate-tests/scenarios/simple_play.scenario
diff --git a/tests/validate-tests/simple_ripple.scenario 
b/tests/validate-tests/scenarios/simple_ripple.scenario
similarity index 100%
rename from tests/validate-tests/simple_ripple.scenario
rename to tests/validate-tests/scenarios/simple_ripple.scenario
diff --git a/tests/validate-tests/simple_split_clips.scenario 
b/tests/validate-tests/scenarios/simple_split_clips.scenario
similarity index 100%
rename from tests/validate-tests/simple_split_clips.scenario
rename to tests/validate-tests/scenarios/simple_split_clips.scenario


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