From 510d9d5f88776119366254bb2ecbcd3963c5137d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Danis?= <frederic.danis@collabora.com>
Date: Wed, 1 Apr 2020 15:08:15 +0200
Subject: [PATCH] Fix missing dependencies for BT AVRCP tests
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Currently `apparmor-bluez-avrcp-volume` test request to run
`bluez-avrcp-volume` test, allowing to install all dependencies for both
tests. Running solely one test ends up in errors due to missing
dependencies.

Signed-off-by: Frédéric Danis <frederic.danis@collabora.com>
---
 test-cases/apparmor-bluez-avrcp-volume.yaml | 1 +
 test-cases/bluez-avrcp-volume.yaml          | 1 +
 2 files changed, 2 insertions(+)

diff --git a/test-cases/apparmor-bluez-avrcp-volume.yaml b/test-cases/apparmor-bluez-avrcp-volume.yaml
index 23b4e72..ac95385 100644
--- a/test-cases/apparmor-bluez-avrcp-volume.yaml
+++ b/test-cases/apparmor-bluez-avrcp-volume.yaml
@@ -17,6 +17,7 @@ metadata:
 
   macro_install_packages_preconditions: chaiwala-tests
                                         apertis-tests-apparmor-report
+                                        python3-dbus python3-gi
 
   pre-conditions:
     - "Please note that connman disables bluetooth by default on a fresh image.
diff --git a/test-cases/bluez-avrcp-volume.yaml b/test-cases/bluez-avrcp-volume.yaml
index ef68a20..6355df9 100644
--- a/test-cases/bluez-avrcp-volume.yaml
+++ b/test-cases/bluez-avrcp-volume.yaml
@@ -21,6 +21,7 @@ metadata:
        to have headphones or a speaker plugged into the Apertis device."
 
   macro_install_packages_preconditions: apertis-tests python3-dbus python3-gi 
+                                        chaiwala-tests
 
   expected:
     - "If success, the following output should be generated by btmon:"
-- 
GitLab