Module: check_mk
Branch: master
Commit: f0965b424b3cee99417fdd45ae18b7804cb8123c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f0965b424b3ceeā¦
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Mar 8 13:54:53 2019 +0100
Extend expected mime type to allow the type reported by CentOS 6 apache
Change-Id: I0ffd53e4f3b953b1bc9b37fa4d6738d4d998499c
---
tests/testlib/__init__.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/testlib/__init__.py b/tests/testlib/__init__.py
index 0246e09..5bf9c29 100644
--- a/tests/testlib/__init__.py
+++ b/tests/testlib/__init__.py
@@ -1125,7 +1125,8 @@ class WebSession(requests.Session):
# There might be other resources like iframe, audio, ... but we don't care
about them
self._check_resources(soup, response, "img", "src",
["image/png"])
- self._check_resources(soup, response, "script", "src",
["application/javascript"])
+ self._check_resources(soup, response, "script", "src",
+ ["application/javascript",
"text/javascript"])
self._check_resources(
soup, response, "link", "href", ["text/css"],
filters=[("rel", "stylesheet")])
self._check_resources(