From 8f0891f0462e5f5deb27c50183c8ea623156d729 Mon Sep 17 00:00:00 2001 From: David Trattnig <david.trattnig@o94.at> Date: Sun, 28 Jun 2020 17:36:08 +0200 Subject: [PATCH] Renamed test dir. --- modules/scheduling/fallback_manager.py | 2 +- modules/scheduling/scheduler.py | 6 +++--- {testing => test}/connection_tester.py | 0 {testing => test}/content/License.md | 0 {testing => test}/content/ernie_mayne_sugar.mp3 | Bin {testing => test}/lqstest.liq | 0 {testing => test}/test.py | 0 {testing => test}/test_alsa_mixer.liq | 0 {testing => test}/test_alsa_settings.liq | 0 {testing => test}/tests.py | 0 10 files changed, 4 insertions(+), 4 deletions(-) rename {testing => test}/connection_tester.py (100%) rename {testing => test}/content/License.md (100%) rename {testing => test}/content/ernie_mayne_sugar.mp3 (100%) rename {testing => test}/lqstest.liq (100%) rename {testing => test}/test.py (100%) rename {testing => test}/test_alsa_mixer.liq (100%) rename {testing => test}/test_alsa_settings.liq (100%) rename {testing => test}/tests.py (100%) diff --git a/modules/scheduling/fallback_manager.py b/modules/scheduling/fallback_manager.py index cf409a5b..8b9d37de 100644 --- a/modules/scheduling/fallback_manager.py +++ b/modules/scheduling/fallback_manager.py @@ -192,7 +192,7 @@ class FallbackManager: if not file: self.logger.critical("Got no file for station fallback! Playing default test track, to play anything at all.") - file = "../../testing/content/ernie_mayne_sugar.mp3" + file = "../../test/content/ernie_mayne_sugar.mp3" media_type = "DEFAULT TRACK" else: file = "" diff --git a/modules/scheduling/scheduler.py b/modules/scheduling/scheduler.py index f7095ddb..78f10fd4 100644 --- a/modules/scheduling/scheduler.py +++ b/modules/scheduling/scheduler.py @@ -380,11 +380,11 @@ class AuraScheduler(threading.Thread): self.logger.critical(str(self.get_active_entry(0))) if playlistname == "station": - file = "/home/david/Code/aura/engine2/testing/content/ernie_mayne_sugar.mp3" + file = "/home/david/Code/aura/engine2/test/content/ernie_mayne_sugar.mp3" elif playlistname == "timeslot": - file = "/home/david/Code/aura/engine2/testing/content/ernie_mayne_sugar.mp3" + file = "/home/david/Code/aura/engine2/test/content/ernie_mayne_sugar.mp3" elif playlistname == "show": - file = "/home/david/Code/aura/engine2/testing/content/ernie_mayne_sugar.mp3" + file = "/home/david/Code/aura/engine2/test/content/ernie_mayne_sugar.mp3" else: file = "" self.logger.critical("Should set next fallback file for " + playlistname + ", but this playlist is unknown!") diff --git a/testing/connection_tester.py b/test/connection_tester.py similarity index 100% rename from testing/connection_tester.py rename to test/connection_tester.py diff --git a/testing/content/License.md b/test/content/License.md similarity index 100% rename from testing/content/License.md rename to test/content/License.md diff --git a/testing/content/ernie_mayne_sugar.mp3 b/test/content/ernie_mayne_sugar.mp3 similarity index 100% rename from testing/content/ernie_mayne_sugar.mp3 rename to test/content/ernie_mayne_sugar.mp3 diff --git a/testing/lqstest.liq b/test/lqstest.liq similarity index 100% rename from testing/lqstest.liq rename to test/lqstest.liq diff --git a/testing/test.py b/test/test.py similarity index 100% rename from testing/test.py rename to test/test.py diff --git a/testing/test_alsa_mixer.liq b/test/test_alsa_mixer.liq similarity index 100% rename from testing/test_alsa_mixer.liq rename to test/test_alsa_mixer.liq diff --git a/testing/test_alsa_settings.liq b/test/test_alsa_settings.liq similarity index 100% rename from testing/test_alsa_settings.liq rename to test/test_alsa_settings.liq diff --git a/testing/tests.py b/test/tests.py similarity index 100% rename from testing/tests.py rename to test/tests.py -- GitLab