aboutsummaryrefslogtreecommitdiffstats
path: root/python/tests/unit-test.py
diff options
context:
space:
mode:
authorDevendra2014-03-24 19:17:48 +0530
committerDevendra2014-03-24 19:17:48 +0530
commit80edcffbfe140a6d19c65deca24e1ba1c0f49b99 (patch)
tree4ece6bf2a480866f1028a5765a1fac0cabb68752 /python/tests/unit-test.py
parent0874d7b862d8cff1c6d01f3d804a2509e181c959 (diff)
downloadpubnub-python-80edcffbfe140a6d19c65deca24e1ba1c0f49b99.tar.bz2
support for python3
Diffstat (limited to 'python/tests/unit-test.py')
-rwxr-xr-xpython/tests/unit-test.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/tests/unit-test.py b/python/tests/unit-test.py
index 1737ace..762959e 100755
--- a/python/tests/unit-test.py
+++ b/python/tests/unit-test.py
@@ -53,8 +53,9 @@ history = pubnub.history({
'channel' : crazy,
'limit' : 1
})
+
test(
- history[0].encode('utf-8') == crazy,
+ history[0] == crazy,
'History Message: ' + history[0]
)
test( len(history) == 1, 'History Message Count' )