def test_deserialize_context_no_ids(self):
    context_dict = {'foo': 'bar', 'is_admin': True}
    c = self.ser.deserialize_context(context_dict)
    self.assertIsNone(c.user_id)
    self.assertIsNone(c.project_id)
def test_deserialize_context_no_ids(self):
    context_dict = {'foo': 'bar', 'is_admin': True}
    c = self.ser.deserialize_context(context_dict)
    self.assertIsNone(c.user_id)
    self.assertIsNone(c.project_id)