Daniel Schadt
7d6327873a
Pass test only when mhtml file is written
...
Otherwise we might spill data to tests that come after the mhtml ones.
2015-11-21 12:45:57 +01:00
Daniel Schadt
59c9c6ccb0
Actually test :download --mhtml, not :download
2015-11-21 12:37:26 +01:00
Daniel Schadt
c7294781f5
Don't make ExpectedRequest orderable
...
Instead, make it hashable and use collections.Counter instead of sorted
lists. This actually produces a nicer output for differences between
the counters.
2015-11-21 00:20:09 +01:00
Daniel Schadt
c12011c84d
Style fixes
2015-11-21 00:10:49 +01:00
Daniel Schadt
b776aeac84
Use same representation in webview and quteprocess
...
Otherwise the "page loaded" message will not be recognized.
Also use percent-encoding to avoid unicode-related bugs on different
systems.
2015-11-20 19:11:20 +01:00
Daniel Schadt
0a9a75c337
Add more tests for the :download command
2015-11-20 18:31:39 +01:00
Daniel Schadt
0c2a285fef
Convert to QUrl before waiting for the logline
...
webview uses QUrl to output the url and thus might convert some escape
sequences to their unicode characters. If we don't do the same
conversions here, we will "miss" the log message and fail the test.
2015-11-20 18:30:08 +01:00
Daniel Schadt
d5bc962046
mhtml: Current index != Current tab_id
2015-11-20 18:15:03 +01:00
Daniel Schadt
7f8c118991
Fix pylint
2015-11-20 16:57:27 +01:00
Daniel Schadt
b38a3caa4c
Hide dest-old in the documentation of download
2015-11-20 16:34:27 +01:00
Daniel Schadt
cd78086d10
Fix pep257
2015-11-20 16:23:46 +01:00
Daniel Schadt
729d29b8a7
webserver: listen on 127.0.0.1 instead of 0.0.0.0
2015-11-20 16:17:34 +01:00
Daniel Schadt
09e310277d
Remove server global, use lambda instead
2015-11-20 16:13:30 +01:00
Daniel Schadt
fb8f200291
Remove polling in webserver, use property instead
2015-11-20 16:11:13 +01:00
Daniel Schadt
613faf84ef
Move pylint comment
2015-11-20 15:30:27 +01:00
Daniel Schadt
fe1c8ee4e8
Also add cherrypy.wsgiserver.wsgiserver3 to freeze
2015-11-20 15:27:17 +01:00
Daniel Schadt
097a14d5f3
Disable pylint no-member for cherrypy.wsgiserver
2015-11-20 14:03:51 +01:00
Daniel Schadt
cb40b1020c
Add cherrypy.wsgiserver to frozen tests
2015-11-20 14:00:17 +01:00
Daniel Schadt
a991a8c43c
Don't compare requests triggered by loading a page
2015-11-20 13:42:32 +01:00
Daniel Schadt
3466ee03f6
Change development server to cherrypy.wsgiserver
...
The Flask/Werkzeug development servers had some issues which lead to
failing tests (together with some Qt bugs).
2015-11-20 13:35:24 +01:00
Daniel Schadt
452c6f5310
Add __str__ method to ExpectedRequest
...
Better for reading test logs.
2015-11-20 13:35:24 +01:00
Daniel Schadt
4060fd5e90
Fix mhtml tests
2015-11-18 19:56:49 +01:00
Daniel Schadt
3438a45b19
Merge branch 'master' into download-page
2015-11-18 19:27:26 +01:00
Daniel Schadt
0d6d276592
mhtml: remove non-existing ftp asset
...
This could be the cause of failing tests, depending on the OS.
2015-11-18 19:15:18 +01:00
Florian Bruhin
dd2ec30b97
Revert "Use parametrization for TestKeyToString:test_all."
...
This reverts commit aa1ea9b063
.
I changed my mind on this, generating >400 tests for this is stupid.
2015-11-18 18:15:21 +01:00
Florian Bruhin
9f89033b8e
Whoops.
2015-11-18 18:09:59 +01:00
Florian Bruhin
202fc8a5bd
Only run codecov once.
...
Otherwise coverage diffs make no sense...
This reverts commit daaa15396c
.
2015-11-18 17:47:26 +01:00
Florian Bruhin
a845bf22ff
ci_install: Clean up PyQt URL.
2015-11-18 08:28:35 +01:00
Florian Bruhin
3251bd8419
doc: Merge "error800"/"Error 800" in author list.
2015-11-18 08:12:02 +01:00
Florian Bruhin
dcfa73cf91
AppVeyor: Use PyQt 5.5.1.
2015-11-18 08:08:40 +01:00
Florian Bruhin
c46015b906
Add checklist for new PyQt release to CONTRIBUTING.
2015-11-18 08:08:40 +01:00
Florian Bruhin
89e3c2a703
Fix lint.
2015-11-18 07:43:10 +01:00
Florian Bruhin
3ec38539c5
Adjust version numbers in README.
2015-11-18 07:16:59 +01:00
Florian Bruhin
6f2407ac26
Regenerate authors.
2015-11-18 07:07:56 +01:00
Florian Bruhin
b735d079d5
Merge branch 'www'
2015-11-18 07:02:40 +01:00
Florian Bruhin
7239f7bb68
www: Don't build unneeded files.
2015-11-18 06:54:59 +01:00
Florian Bruhin
98fbdde846
www: Remove author line/asciidoc vars from output.
2015-11-18 06:51:46 +01:00
Florian Bruhin
244d86c85a
www: Make script work if output path exists.
2015-11-18 06:41:40 +01:00
Florian Bruhin
cb624ea6ee
www: Add some more links to the header.
2015-11-18 06:41:28 +01:00
Florian Bruhin
ad5988513b
Fix lint.
2015-11-17 20:28:27 +01:00
Florian Bruhin
0ccd19f980
Fix lint.
2015-11-17 20:10:53 +01:00
Florian Bruhin
fbe5eb4671
Merge pull request #1114 from meles5/www
...
Add a license to the website files
2015-11-17 19:50:01 +01:00
Florian Bruhin
be19c76369
Merge branch 'lamarpavel-issue923'
2015-11-17 19:48:24 +01:00
Florian Bruhin
d37b311dcb
Regenerate authors.
2015-11-17 19:46:31 +01:00
Florian Bruhin
ea5484c3a2
Fix nitpicks.
2015-11-17 19:46:24 +01:00
Florian Bruhin
f20ffca540
Merge branch 'issue923' of https://github.com/lamarpavel/qutebrowser into lamarpavel-issue923
2015-11-17 19:43:35 +01:00
Florian Bruhin
5a10ca96c5
Merge branch 'halfwit-master'
2015-11-17 19:31:00 +01:00
Florian Bruhin
4b531d142b
Regenerate authors.
2015-11-17 19:30:51 +01:00
Florian Bruhin
e010602791
Remove outdated comment.
2015-11-17 19:30:08 +01:00
Florian Bruhin
54fe9407c4
Merge branch 'master' of https://github.com/halfwit/qutebrowser into halfwit-master
2015-11-17 19:29:54 +01:00