def test_should_be_valid(self):
     restfulapi.JournalAOPSchema().deserialize({"aop": "001"})
 def test_aop_is_required(self):
     self.assertRaises(colander.Invalid,
                       restfulapi.JournalAOPSchema().deserialize, {})