summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorWouter Bolsterlee <uws@xs4all.nl>2013-05-22 20:11:58 +0200
committerWouter Bolsterlee <uws@xs4all.nl>2013-05-22 20:11:58 +0200
commite5419f8daba7b8420d4e00f5f9233d77aeadd394 (patch)
tree9f0d614e5e6b9ee8f17ae74cfc28f84e9a18f68c /tests
parent7ad4ee8d5c821b33b9d002d3d8c9a355774d173e (diff)
downloadhappybase-e5419f8daba7b8420d4e00f5f9233d77aeadd394.tar.gz
Also allow 'long' type for 'timestamp' args
Fixes issue #23.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_api.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_api.py b/tests/test_api.py
index 9e77d52..7fd66ff 100644
--- a/tests/test_api.py
+++ b/tests/test_api.py
@@ -146,6 +146,7 @@ def test_families():
def test_put():
table.put('r1', {'cf1:c1': 'v1', 'cf1:c2': 'v2', 'cf2:c3': 'v3'})
table.put('r1', {'cf1:c4': 'v2'}, timestamp=2345678)
+ table.put('r1', {'cf1:c4': 'v2'}, timestamp=1369168852994L)
def test_atomic_counters():