Skip to content

Commit

Permalink
Issue #1063. Update test expectations now that we can upload files ag…
Browse files Browse the repository at this point in the history
…ain.
  • Loading branch information
Mike Taylor committed May 26, 2016
1 parent 0bd1c97 commit 93e832b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/test_uploads.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,14 @@ def testRegularUploads(self):
# Loop over some files and the status codes that we are expecting
# Basically it should never be possible to upload a "regular" file.
for filename, status_code in (
('evil.py', 501),
('evil', 501),
('evil.png', 501),
('green_square.webp', 501),
('green_square.png', 501),
('green_square.jpg', 501),
('green_square.gif', 501),
('green_square.bmp', 501)):
('evil.py', 415),
('evil', 415),
('evil.png', 415),
('green_square.webp', 415),
('green_square.png', 201),
('green_square.jpg', 201),
('green_square.gif', 201),
('green_square.bmp', 201)):

# The reason why we are defining it in here and not outside
# this method is that we are setting the filename of the
Expand Down

0 comments on commit 93e832b

Please sign in to comment.