diff options
author | Vincent Sanders <vince@kyllikki.org> | 2019-07-01 23:27:45 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2019-07-02 11:29:54 +0100 |
commit | e01bbee4056786d08fbaf8f347fa17033a8f3e62 (patch) | |
tree | a3d734d405c300f7646268e7d0350b65cebb7be2 /test/monkeyfarmer.py | |
parent | 1ae0ee21eef94f5bc82f64543384698bd0b7ebec (diff) | |
download | netsurf-e01bbee4056786d08fbaf8f347fa17033a8f3e62.tar.gz netsurf-e01bbee4056786d08fbaf8f347fa17033a8f3e62.tar.bz2 |
fix monkey testing setting of options to add necessary prefix
Diffstat (limited to 'test/monkeyfarmer.py')
-rw-r--r-- | test/monkeyfarmer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/monkeyfarmer.py b/test/monkeyfarmer.py index 94943431b..1851888a5 100644 --- a/test/monkeyfarmer.py +++ b/test/monkeyfarmer.py @@ -160,7 +160,7 @@ class Browser: def pass_options(self, *opts): if len(opts) > 0: - self.farmer.tell_monkey("OPTIONS " + (" ".join(opts))) + self.farmer.tell_monkey("OPTIONS " + (" ".join(['--' + opt for opt in opts]))) def on_monkey_line(self, line): parts = line.split(" ") |