From 0f3b4e4baaff46d2943aad13e51b18f0db0800b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Mon, 14 Aug 2017 02:38:18 +0200 Subject: [PATCH] travis: add pydbus mockup Unfortunately, python3-gi is unavailable in travis-ci environment (and installing it from repository doesn't help, because system python is not used). Instead, add mockup of pydbus module - to silence ImportError. Tests will cover it with unittest.mock anyway. --- test-packages/pydbus.py | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 test-packages/pydbus.py diff --git a/test-packages/pydbus.py b/test-packages/pydbus.py new file mode 100644 index 00000000..00dd359b --- /dev/null +++ b/test-packages/pydbus.py @@ -0,0 +1,2 @@ +class SystemBus(object): + pass