Permalink
Browse files

fixing autopacking tests

  • Loading branch information...
1 parent fb4ce84 commit 9a1a16a5edc12d370369f001ca519199c0b5ffc6 Jon Hermes committed Sep 3, 2010
Showing with 2 additions and 3 deletions.
  1. +2 −3 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)

0 comments on commit 9a1a16a

Please sign in to comment.