From 93379625e26c98a8cfab72c106ae40819843f956 Mon Sep 17 00:00:00 2001 From: Devendra Date: Thu, 24 Apr 2014 00:35:10 +0530 Subject: remove relative imports --- python-twisted/tests/benchmark.py | 1 - python-twisted/tests/delivery.py | 1 - python-twisted/tests/subscribe-test.py | 1 - python-twisted/tests/unit-test-full.py | 3 --- python-twisted/tests/unit-tests.py | 4 ---- 5 files changed, 10 deletions(-) (limited to 'python-twisted/tests') diff --git a/python-twisted/tests/benchmark.py b/python-twisted/tests/benchmark.py index d4d6d80..0e7b809 100644 --- a/python-twisted/tests/benchmark.py +++ b/python-twisted/tests/benchmark.py @@ -12,7 +12,6 @@ import sys import datetime from twisted.internet import reactor -sys.path.append('../') from Pubnub import Pubnub publish_key = len(sys.argv) > 1 and sys.argv[1] or 'demo' diff --git a/python-twisted/tests/delivery.py b/python-twisted/tests/delivery.py index 3ba221b..d36e895 100644 --- a/python-twisted/tests/delivery.py +++ b/python-twisted/tests/delivery.py @@ -14,7 +14,6 @@ import datetime import time import math -sys.path.append('../') from Pubnub import Pubnub ## ----------------------------------------------------------------------- diff --git a/python-twisted/tests/subscribe-test.py b/python-twisted/tests/subscribe-test.py index 6ff4a35..aca63ba 100755 --- a/python-twisted/tests/subscribe-test.py +++ b/python-twisted/tests/subscribe-test.py @@ -10,7 +10,6 @@ ## ----------------------------------- import sys -sys.path.append('../') import datetime from Pubnub import Pubnub from functools import partial diff --git a/python-twisted/tests/unit-test-full.py b/python-twisted/tests/unit-test-full.py index f8be1cc..374772f 100644 --- a/python-twisted/tests/unit-test-full.py +++ b/python-twisted/tests/unit-test-full.py @@ -18,9 +18,6 @@ ## ----------------------------------- import sys -sys.path.append('../') -sys.path.append('./') -sys.path.append('../common/') from Pubnub import Pubnub publish_key = len(sys.argv) > 1 and sys.argv[1] or 'demo' diff --git a/python-twisted/tests/unit-tests.py b/python-twisted/tests/unit-tests.py index d0e5722..169e1f1 100644 --- a/python-twisted/tests/unit-tests.py +++ b/python-twisted/tests/unit-tests.py @@ -2,10 +2,6 @@ import sys import time -sys.path.append('../../common') -sys.path.append('../common') -sys.path.append('..') -sys.path.append('.') from PubnubUnitTest import Suite from Pubnub import Pubnub -- cgit v1.2.3