#!/bin/bash

echo "Installing py.test and D-Bus testing dependencies"

function install {
    packages="$@"

    retval=100
    count=0

    if [[ "$retval" -ne "0" && $count -le 5 ]]; then
        count=$count+1
        DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confnew" --force-yes -fuy install $packages
        retval=$?
    fi
}

install python-gobject python-dbus python-pip


Add py.test and D-Bus testing with Python deps
Add py.test and D-Bus testing with Python deps
