diff --git a/tests/integration/quteprocess.py b/tests/integration/quteprocess.py index 284b6cfd1..2f18b1ece 100644 --- a/tests/integration/quteprocess.py +++ b/tests/integration/quteprocess.py @@ -181,7 +181,9 @@ class QuteProc(testprocess.Process): if path.startswith('about:') or path.startswith('qute:'): return path else: - return 'http://localhost:{}/{}'.format(self._httpbin.port, path) + return 'http://localhost:{}/{}'.format( + self._httpbin.port, + path if path != '/' else '') def after_test(self): bad_msgs = [msg for msg in self._data