Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixing autopacking tests

  • Loading branch information...
commit 9a1a16a5edc12d370369f001ca519199c0b5ffc6 1 parent fb4ce84
Jon Hermes authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 tests/test_autopacking.py
View
5 tests/test_autopacking.py
@@ -522,7 +522,7 @@ def test_default_validated_columns(self):
# longs and cm for 'subcol' allows TIMEUUIDs.
self.cf_def_valid.insert(key, col_cf)
self.cf_def_valid.insert(key, col_cm)
- assert self.cf_def_valid.get(key) == col_cf.update(col_cm)
+ assert self.cf_def_valid.get(key) == {'aaaaaa':1L,'subcol':TIME1}
assert_raises(TypeError, self.cf_def_valid.insert, key,col_ncf)
assert_raises(TypeError, self.cf_def_valid.insert, key,col_ncm)
@@ -552,8 +552,7 @@ def test_time_to_uuid(self):
timeline.append(datetime.now())
- import pdb; pdb.set_trace()
- cols = col1.update(col2)
+ cols = {time1:'0', time2:'1'}
assert_equal(self.cf_time.get(key, column_start=timeline[0]) , cols)
assert_equal(self.cf_time.get(key, column_finish=timeline[2]) , cols)
Please sign in to comment.
Something went wrong with that request. Please try again.