From f2570c773aa18e4ac236b1cf7f43acfb4ca080dd Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Fri, 5 Sep 2014 15:05:44 +0200 Subject: iframe injector example: use inline script --- test/test_examples.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/test_examples.py') diff --git a/test/test_examples.py b/test/test_examples.py index d18b5862..d557080e 100644 --- a/test/test_examples.py +++ b/test/test_examples.py @@ -12,6 +12,8 @@ def test_load_scripts(): tmaster = tservers.TestMaster(config.ProxyConfig()) for f in scripts: + if "iframe_injector" in f: + f += " foo" # one argument required if "modify_response_body" in f: f += " foo bar" # two arguments required script.Script(f, tmaster) # Loads the script file. \ No newline at end of file -- cgit v1.2.3