aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2012-07-02 14:13:43 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2012-07-02 14:13:43 +0300
commit8d4c083435bfed1c47532530924b33c44b4b3df7 (patch)
treedfb856b0e5f0f2e358148bf670b569d2d521cec3
parent1ebe9d3e670008ce419917f4120fab0f5e642628 (diff)
downloadbluez-8d4c083435bfed1c47532530924b33c44b4b3df7.tar.gz
bluez-8d4c083435bfed1c47532530924b33c44b4b3df7.tar.xz
bluez-8d4c083435bfed1c47532530924b33c44b4b3df7.zip
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 <module> from sap import *
-rw-r--r--.gitignore1
-rw-r--r--test/sap_client.py (renamed from test/sap-client)0
-rwxr-xr-xtest/test-sap-server2
3 files changed, 2 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 7304ee82..c7d079ef 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
index 413424c0..413424c0 100644
--- a/test/sap-client
+++ b/test/sap_client.py
diff --git a/test/test-sap-server b/test/test-sap-server
index df838f60..fc0cde96 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):