Skip to content

Commit

Permalink
Addapt tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ecarreras committed Apr 3, 2019
1 parent 5a180ff commit c310a60
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/qreu_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@

with it('must get all attachments and avoid wrong body parts'):
c = Email.parse(self.raw_messages[4])
attch = [p for p in c.attachments]
expect(attch).to(be_empty)
expect(c.body_parts['files']).to(be_empty)
attch = [p['name'] for p in c.attachments]
expect(attch).to(contain_exactly('image.png'))
expect(c.body_parts['files']).to(contain_exactly('image.png'))

with description("Creating an Email"):
with context("empty"):
Expand Down

0 comments on commit c310a60

Please sign in to comment.