From 8d4c083435bfed1c47532530924b33c44b4b3df7 Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Mon, 2 Jul 2012 14:13:43 +0300 Subject: [PATCH] test: Fix test-sap-server import issue sap-client is a helper library and needs to be suffixed with .py for test-sap-server to be able to import it. $ ./test-sap-server Traceback (most recent call last): File "./test-sap-server", line 3, in from sap import * --- .gitignore | 1 + test/{sap-client => sap_client.py} | 0 test/test-sap-server | 2 +- 3 files changed, 2 insertions(+), 1 deletion(-) rename test/{sap-client => sap_client.py} (100%) diff --git a/.gitignore b/.gitignore index 7304ee82f..c7d079efa 100644 --- a/.gitignore +++ b/.gitignore @@ -81,6 +81,7 @@ test/btiotest test/test-textfile test/uuidtest test/mpris-player +test/sap_client.pyc compat/dund compat/hidd compat/pand diff --git a/test/sap-client b/test/sap_client.py similarity index 100% rename from test/sap-client rename to test/sap_client.py diff --git a/test/test-sap-server b/test/test-sap-server index df838f60e..fc0cde965 100755 --- a/test/test-sap-server +++ b/test/test-sap-server @@ -2,7 +2,7 @@ from __future__ import absolute_import, print_function, unicode_literals -from sap import * +from sap_client import * import time def connect_disconnect_by_client(sap): -- 2.47.3