commit | 37b6844449f9b31c0a11da2ab12fa47a45a60c15 | [log] [tgz] |
---|---|---|
author | gobaledge <globaledgeofficial@gmail.com> | Thu Feb 14 22:36:36 2019 +0530 |
committer | gobaledge <globaledgeofficial@gmail.com> | Thu Feb 14 22:36:36 2019 +0530 |
tree | 5fed10c4c7943db5ab8a53fc6f0843763016d807 | |
parent | 7ed725b3ce506f4b9a8ebed1aec50bbcd7acbb54 [diff] |
Change to add music files from path Change-Id: Ibc7979ca270cb9a93a669ba6749d6adca6385f84
diff --git a/acts/framework/acts/test_utils/coex/coex_test_utils.py b/acts/framework/acts/test_utils/coex/coex_test_utils.py index afc9fac..844510f 100644 --- a/acts/framework/acts/test_utils/coex/coex_test_utils.py +++ b/acts/framework/acts/test_utils/coex/coex_test_utils.py
@@ -1054,8 +1054,9 @@ ad.adb.push(item, android_music_path) return music_file_to_play else: - ad.log.error("Music file should be of type list") - return False + music_file_to_play = audio_params["music_file"] + ad.adb.push("{} {}".format(music_file_to_play, android_music_path)) + return (os.path.basename(music_file_to_play)) def bokeh_chart_plot(bt_attenuation_range,