def test_single(self): user = User(id=1, name='user1') keys = user.keys() self.assertEquals((1, ), keys)