Commits

Jean-Tiare Le Bigot committed 4d7c31d

fix tests + update changelog

  • Participants
  • Parent commits 23454ac

Comments (0)

Files changed (3)

 - rename ``to_db_dict`` to ``_to_db_dict``. Should not be used anymore
 - rename ``from_dict`` to ``_from_db_dict``. Should not be used anymore
 - transactions may create new Items (side effect of ``raise_on_conflict`` refactor)
+- fix bug #13 in dates de-serialization. (thanks Merwok)
 
 Removal
 -------

dynamodb_mapper/tests/test_model.py

 
     def test_dynamodb_to_python_datetime(self):
         self.assertEquals(
-            datetime.datetime(2012, 05, 31, 12, 0, 42, tzinfo=utc_tz),
+            datetime.datetime(2012, 05, 31, 12, 0, 0, 42, tzinfo=utc_tz),
             _dynamodb_to_python(datetime.datetime,
                                 "2012-05-31T12:00:00.000042+00:00"))
         self.assertEquals(
-            datetime.datetime(2010, 11, 1, 4, 0, 13, tzinfo=utc_tz),
+            datetime.datetime(2010, 11, 1, 4, 0, 0, 13, tzinfo=utc_tz),
             _dynamodb_to_python(datetime.datetime,
                                 "2010-11-01T04:00:00.000013Z"))
 
     # d2to1 bootstrap
     'd2to1',
 
+    # Run time deps. Application needs them to run
+    'boto',
+
     # Testing dependencies (the application doesn't need them to *run*)
     'nose',
     'nosexcover',