Ejemplo n.º 1
0
 def test_crid(self):
     attachment_request = AttachmentRequestFactory.build(
         allegation=AllegationFactory(crid='1111'), )
     expect(attachment_request.crid).to.eq('1111')
Ejemplo n.º 2
0
 def test_str(self):
     attachment_request = AttachmentRequestFactory.build(
         allegation=AllegationFactory(crid='1111'), email='*****@*****.**')
     expect(str(attachment_request)).to.eq('[email protected] - 1111')