Bruno Oliveira
6388ec4794
Converted test_readline to pytest
2015-04-04 12:49:23 -03:00
Bruno Oliveira
7e7a1b7b28
Converted test_basekeyparser to pytest
2015-04-04 12:37:14 -03:00
Bruno Oliveira
9128ac41cb
Removing (object) subclassing from test classes
...
Old habit from python 2
2015-04-04 12:05:44 -03:00
Bruno Oliveira
8000ea33d2
Converted test_config to pytest
2015-04-04 12:02:32 -03:00
Bruno Oliveira
ea16fb3684
Converted test_tabhistory to pytest
2015-04-04 11:43:14 -03:00
Bruno Oliveira
6429d29a23
Converted test_conftest to pytest
2015-04-04 11:24:48 -03:00
Bruno Oliveira
99abd1edeb
Adding pytest-mock to tox
2015-04-03 20:17:52 -03:00
Bruno Oliveira
22df30cdcc
Converted test_http to pytest
2015-04-03 20:09:53 -03:00
Bruno Oliveira
3129def33e
Converted test_content_disposition to pytest
2015-04-03 20:07:20 -03:00
Bruno Oliveira
7442e30f29
Converted test_webelem to pytest
2015-04-03 18:36:35 -03:00
Bruno Oliveira
f57223f7eb
Removed environ_set_temp as we will use monkeypatch
2015-04-03 18:35:40 -03:00
Bruno Oliveira
3421e5e34f
Created stubs fixture and converted test_stubs to pytest
2015-04-03 18:12:49 -03:00
Bruno Oliveira
9c533e1941
Moved tests to outside of qutebrowser package
2015-04-03 16:49:01 -03:00
Bruno Oliveira
298892a4a8
Converted test_standarddir to pytest
...
related to #10
2015-04-02 19:46:52 -03:00
Bruno Oliveira
751b62e344
Moving logging and QApplication to conftest
...
As discussed in #8
2015-04-02 19:09:06 -03:00
Bruno Oliveira
47b9ea1f88
Fixing docstring typo in test_progress
2015-04-02 08:05:23 -03:00
Bruno Oliveira
79be5b0f4a
Implemented test for Progress widget
...
Also created a conftest file with a "default_config" fixture.
2015-04-01 22:39:25 -03:00
Bruno Oliveira
1f08d8e319
Implemented test for Percentage widget
2015-04-01 21:24:25 -03:00
Bruno Oliveira
3096f3856a
Implemented test for TextBase widget
2015-04-01 20:50:20 -03:00
Florian Bruhin
a98060e020
Minor QWebSettings fix.
...
If you're reading the diff, congrats. Please be quiet and don't spoil the fun
for others though! :)
2015-04-01 00:06:34 +02:00
Florian Bruhin
96090b86fd
tox: Use pytest-cov for coverage.
2015-03-30 23:36:27 +02:00
Florian Bruhin
36421934f9
tox: Use pytest instead of unittest.
2015-03-30 23:09:35 +02:00
Florian Bruhin
2f629befc3
Add an option to disable host blocking.
2015-03-30 18:33:10 +02:00
Florian Bruhin
70ccdd86b2
Add zooming with Ctrl-mousewheel.
...
Closes #51 .
2015-03-30 15:26:07 +02:00
Florian Bruhin
fab6bc285c
Add readlink in stacktrace.asciidoc.
2015-03-30 15:06:38 +02:00
Florian Bruhin
a38c3ae1e1
Add a :tab-detach command.
...
See #62 .
2015-03-30 12:14:15 +02:00
Florian Bruhin
33dff70357
:session-load: Add a -c/--clear argument.
...
See #523 .
2015-03-30 07:13:13 +02:00
Florian Bruhin
dff8f73a11
:session-save: Show which session was saved.
...
This also adds a -q/--quiet argument to not print this.
See #523 .
2015-03-30 07:13:13 +02:00
Florian Bruhin
5233e7fac8
Fix UnboundLocalError on invalid quickmarks.
...
This also improves FuzzyUrlError messages.
2015-03-29 21:20:42 +02:00
Florian Bruhin
b2427701fa
Handle element webFrame being None when hinting.
2015-03-29 19:52:30 +02:00
Florian Bruhin
8af2e712ae
Add a --pdb-postmortem argument.
2015-03-29 19:45:00 +02:00
Florian Bruhin
34a0976a6f
Fix requirements.io filter.
2015-03-27 19:27:57 +01:00
Florian Bruhin
d062ff5138
Fix starting with -c '' again.
...
Before c5a2039da4
(standarddir refactoring), we
only checked the commandline arguments for the config file, but not when
getting the quickmarks location (as the 'args' argument was None). This means
quickmarks were saved to the default config dir even with -c ''.
With that commit, this was "fixed" accidentally, but quickmarks couldn't handle
the filename being None.
2015-03-27 12:29:12 +01:00
Florian Bruhin
1e18ce94cf
doc: Add requirements.io badge to README.
2015-03-26 21:36:54 +01:00
Florian Bruhin
51141adb24
tox: Better requirements.io filter for pep8.
2015-03-26 21:34:13 +01:00
Florian Bruhin
c562fac9cb
tox: Use git directly to check for changes (docs).
...
We also remove checking for uncommited changes in misc_checks.py, as this
usually just is noise.
2015-03-26 20:37:53 +01:00
Florian Bruhin
16ab2ad167
tox: Add skip_install to more environments.
2015-03-26 20:19:55 +01:00
Florian Bruhin
acb13bb61e
tox: Update check-manifest to 0.24.
...
Changelog:
* Make sure setup.py not being added to the VCS doesn't cause
hard-to-understand errors (issue #46 ).
2015-03-26 19:56:29 +01:00
Florian Bruhin
b6dc43396b
Update CONTRIBUTING.
2015-03-26 19:47:34 +01:00
Florian Bruhin
6a02ee1cbb
Update INSTALL.
2015-03-26 19:12:52 +01:00
Florian Bruhin
67b9036574
tox: tox.ini fixes for Ubuntu Trusty/tox 1.6
...
- Don't use old PYTHONPATH in tox.ini.
PYTHONPATH should be unset anyways, so it's okay to ignore the old value.
- Don't use config interpolation for unittests.
This shows a "command not found" error for some reason.
2015-03-26 13:23:07 +01:00
Florian Bruhin
cb3fcd3d8a
Don't use {envsitepackagesdir} for link_pyqt.py.
...
It seems this is broken (and passes the global path) on Ubuntu Trusty.
2015-03-26 13:23:07 +01:00
Florian Bruhin
738f6a4510
tox: Set QT_QPA_PLATFORM_PLUGIN_PATH for tests.
...
This is needed on Windows so the qwindows plugin is found.
It makes more sense to set this here instead of setting it in the buildbot
settings.
2015-03-26 13:23:07 +01:00
Florian Bruhin
b409517777
tox: Use python -m pep257 for pep257.
2015-03-26 13:23:03 +01:00
Florian Bruhin
a1df3194ff
tox: Add coverage/docs environments.
2015-03-26 13:21:10 +01:00
Florian Bruhin
fc14b5b6b2
Fix link_pyqt.py on Debian/Windows.
2015-03-26 13:16:48 +01:00
Florian Bruhin
8285245641
Update INSTALL.asciidoc for tox.
2015-03-26 08:17:06 +01:00
Florian Bruhin
320fd87cbc
Update MANIFEST.in.
...
This makes check-manifest run clean again.
2015-03-26 08:17:06 +01:00
Florian Bruhin
9099d8c466
Update .gitignore.
2015-03-26 08:17:06 +01:00
Florian Bruhin
1d29e3462f
Use tox to manage virtualenvs.
...
Obsoletes #463 .
Fixes #558 .
Fixes part of #474 .
Closes #479 .
Closes #452 .
2015-03-26 08:15:38 +01:00