Module: check_mk
Branch: master
Commit: 83cbf424b0d3b5d52f168010566dbd52bec0f317
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=83cbf424b0d3b5…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Mar 17 09:49:27 2017 +0100
GUI Crawl: do not visit view editor
Change-Id: I96a36c83917d05eeea0d55ef3b217a4f967afc6d
---
tests/web/test_crawl.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/web/test_crawl.py b/tests/web/test_crawl.py
index cc8c77e..a3a37dd 100644
--- a/tests/web/test_crawl.py
+++ b/tests/web/test_crawl.py
@@ -257,6 +257,10 @@ class Worker(threading.Thread):
if "view.py" in url and "filled_in=filter" in url:
raise InvalidUrl("Skipping filled in filter URL: %s" % url)
+ # Don't follow the view editor
+ if "edit_view.py":
+ raise InvalidUrl("Skipping view editor URL: %s" % url)
+
# Skip agent download files
if parsed.path.startswith("/%s/check_mk/agents/" %
self.crawler.site.id):
raise InvalidUrl("Skipping agent download file: %s" % url)