Florian Bruhin
a58abf8f4c
Set __tracebackhide__ for CallbackChecker.check
2018-09-08 12:15:14 +02:00
Florian Bruhin
e066f83a7c
Make configinit tests run with all setups
2018-06-12 10:52:22 +02:00
Florian Bruhin
1ba2e3e24b
Implement Qt 5.11 devtools support
...
See #3010
2018-06-11 11:07:14 +02:00
Florian Bruhin
6f028e9ad0
Update copyright years
2018-02-05 12:19:50 +01:00
Jay Kamat
5913552dfe
Fix style issues in stylesheet tests
2017-11-13 19:57:11 -05:00
Jay Kamat
d39dda38ce
Refactor CallbackChecker into test utils
2017-11-10 12:27:00 -05:00
Florian Bruhin
2ba637891a
Add required_keys for configtypes.Dict
2017-07-04 15:08:03 +02:00
Florian Bruhin
c4fb2bc609
Fix URL/renderer crash tests with Qt 5.9
...
The behavior in Qt changed there (in a good way), so we need to adjust the tests
accordingly.
Fixes #2514
2017-05-19 08:10:17 +02:00
Florian Bruhin
822623f2ed
Finally update copyrights...
2017-05-09 21:37:03 +02:00
Florian Bruhin
1d0f187fab
Adjustments for new pylint version
2017-04-13 18:22:16 +02:00
Daniel Karbach
863bab3ccf
allow multiline matches in log messages
2016-10-24 17:10:47 +02:00
Florian Bruhin
4658bdcacf
Use pytest.approx in tests.helpers.utils
...
See #1877
2016-08-22 07:39:11 +02:00
Florian Bruhin
64d4c9f83e
Clean up end2end test file structure
...
This renames tests/integration to tests/end2end and moves some files to
tests/end2end/fixtures.
2016-05-29 18:20:00 +02:00
Florian Bruhin
2a343cb3a1
Various code style improvements
2016-04-27 20:25:27 +02:00
Florian Bruhin
e53c136342
tests: Refactor partial_compare
...
Functions now return a PartialCompareOutcome to attach an error message instead
of a bool, and the main function got rewritten based on a handler dict.
2016-04-21 00:14:13 +02:00
Philipp Hansch
e0e8bc805b
Remove unneeded argument
...
Instead, figure out the data directory from the helpers directory.
2016-03-29 19:52:46 +02:00
Philipp Hansch
e9ae2156d3
Comply with flake8
2016-03-29 00:08:14 +02:00
Philipp Hansch
5811a25299
Add a datapath replacement for spawning userscripts
...
This adds a `(datapath)` replacement for feature tests.
`(datapath)` will expand to the absolute path to the integration data
directory.
2016-03-28 23:48:37 +02:00
Florian Bruhin
526441bcae
Fix new flake8 lint.
...
For some reason these issues weren't shown with pytest-pep8/flakes.
2016-01-22 17:33:58 +01:00
Florian Bruhin
a5f2ac5f03
Adjust copyright years.
2016-01-04 07:12:39 +01:00
Florian Bruhin
3290048458
tests: Do custom fnmatch-like matching.
...
fnmatch treats [, ] and ? as shell metacharacters too, and has no way to escape
them. We need a literal [] and really only need * for filtering.
2015-11-13 07:56:59 +01:00
Florian Bruhin
9c5ce8a688
tests: Improve partial_compare output.
2015-11-12 19:04:37 +01:00
Florian Bruhin
6e7d6fb00e
tests: Use fnmatch for strings in partial_match.
2015-11-10 06:50:31 +01:00
Florian Bruhin
e13de98790
Fix lint.
2015-11-02 23:49:44 +01:00
Florian Bruhin
3155e20999
tests: Add helpers to compare sessions.
2015-11-02 23:41:48 +01:00