From 476f074d6ac8b86ab4c6e197589a580ef11c02e4 Mon Sep 17 00:00:00 2001 From: ingvar1995 Date: Sat, 22 Oct 2016 22:47:10 +0300 Subject: [PATCH] libtoxav in tests and fix --- .travis.yml | 1 + tests/tests.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3b94971..3d4dc14 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,7 @@ python: before_install: - sudo apt-get install -y checkinstall build-essential - sudo apt-get install portaudio19-dev + - sudo apt-get install libconfig-dev libvpx-dev libopus-dev check -qq install: - pip install PySide --no-index --find-links https://parkin.github.io/python-wheelhouse/; - python ~/virtualenv/python${TRAVIS_PYTHON_VERSION}/bin/pyside_postinstall.py -install diff --git a/tests/tests.py b/tests/tests.py index f62365b..a7300d8 100644 --- a/tests/tests.py +++ b/tests/tests.py @@ -57,12 +57,12 @@ class TestFriend: ProfileHelper('', 'test') def create_friend(self, name, status_message, number, tox_id): - app = QtGui.QApplication(sys.argv) message_getter = None friend = Friend(message_getter, number, name, status_message, ContactItem(), tox_id) return friend def test_friend_creation(self): + app = QtGui.QApplication(sys.argv) self.create_singletons() name, status_message, number = 'Friend', 'I am friend!', 0 tox_id = '76518406F6A9F2217E8DC487CC783C25CC16A15EB36FF32E335A235342C48A39218F515C39A6'