def test_from_riak(self): t = Timestamp() dt = datetime(2100, 10, 5, 11, 10, 9) self.assertEqual(t.from_riak("2100-10-05 11:10:09.000000"), dt)