Skip to content

Commit

Permalink
Fixed transformer sync detection error
Browse files Browse the repository at this point in the history
  • Loading branch information
heynemann committed Oct 29, 2015
1 parent 544f688 commit 028131e
Show file tree
Hide file tree
Showing 5 changed files with 1,262 additions and 1 deletion.
10 changes: 10 additions & 0 deletions tests/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,16 @@ def get_ssim(actual, expected):
return structural_similarity(np.array(im), np.array(im2), multichannel=True)


@create_assertions
def to_be_resized(image):
return image.has_resized_properly()


@create_assertions
def to_be_cropped(image):
return image.has_cropped_properly()


def encode_multipart_formdata(fields, files):
BOUNDARY = 'thumborUploadFormBoundary'
CRLF = '\r\n'
Expand Down
Loading

0 comments on commit 028131e

Please sign in to comment.