Skip to content

Commit

Permalink
Allow either JS mimetype in test_add_static
Browse files Browse the repository at this point in the history
  • Loading branch information
tw4l committed Dec 5, 2022
1 parent 62a02f6 commit 82fa73d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_auto_colls.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def test_add_static(self):

resp = self.testapp.get('/static/_/test/abc.js')
assert resp.status_int == 200
assert resp.content_type == 'application/javascript'
assert resp.content_type in ('application/javascript', 'text/javascript')
resp.charset = 'utf-8'
assert '/* Some JS File */' in resp.text

Expand Down

0 comments on commit 82fa73d

Please sign in to comment.