Florian Bruhin
|
a5f2ac5f03
|
Adjust copyright years.
|
2016-01-04 07:12:39 +01:00 |
|
Florian Bruhin
|
59c8e5c3d1
|
Add some tests for commands.userscripts.
|
2015-12-21 08:45:46 +01:00 |
|
Florian Bruhin
|
b3515f5e82
|
pylint: Remove import-error disabling from tests.
|
2015-12-01 22:47:10 +01:00 |
|
Florian Bruhin
|
5817b47f75
|
Revert "Use fully qualified imports in tests."
Seems like this also breaks frozen tests...
This reverts commit c7fdcc92b8 .
|
2015-12-01 22:45:59 +01:00 |
|
Florian Bruhin
|
c7fdcc92b8
|
Use fully qualified imports in tests.
This is cleaner even if pylint can't handle it.
|
2015-12-01 22:03:59 +01:00 |
|
Florian Bruhin
|
788a096150
|
pylint: Ignore import-error globally for tests.
|
2015-12-01 22:03:59 +01:00 |
|
Florian Bruhin
|
150a83d8f4
|
pylint: Remove unneeded supressions.
|
2015-12-01 22:03:58 +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
|
416cfaf002
|
tests: Switch from pytest-capturelog to catchlog.
|
2015-11-11 19:57:03 +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 |
|
Daniel
|
0851999b89
|
Add unit/regression test
|
2015-10-23 19:52:56 +02:00 |
|
Florian Bruhin
|
d5baed5e83
|
Merge branch 'cookies_tests' of https://github.com/acogneau/qutebrowser into acogneau-cookies_tests
|
2015-09-16 22:58:28 +02:00 |
|
Florian Bruhin
|
b0c2021eca
|
Revert "logfail: Update tests to use testdir."
This reverts commit f7e40f73ab .
Conflicts:
tests/helpers/test_logfail.py
|
2015-09-09 08:49:51 +02:00 |
|
Florian Bruhin
|
2f8b39df1c
|
Revert "logfail: Switch tests to subprocess pytest runs."
This reverts commit 09c265ddb0 .
|
2015-09-09 08:49:17 +02:00 |
|
Florian Bruhin
|
f7c405d2f4
|
Revert "logfail: Continue running test and fail afterwards."
This reverts commit 66ed4e9c4e .
|
2015-09-09 08:49:06 +02:00 |
|
Florian Bruhin
|
909cafb516
|
Fix lint.
|
2015-09-09 07:58:14 +02:00 |
|
Florian Bruhin
|
66ed4e9c4e
|
logfail: Continue running test and fail afterwards.
|
2015-09-09 07:58:14 +02:00 |
|
Florian Bruhin
|
09c265ddb0
|
logfail: Switch tests to subprocess pytest runs.
It seems they're much more reliable this way.
|
2015-09-09 07:58:14 +02:00 |
|
Florian Bruhin
|
f7e40f73ab
|
logfail: Update tests to use testdir.
This makes more sophisticated tests easier.
|
2015-09-09 07:58:14 +02:00 |
|
Florian Bruhin
|
f5d9e967ef
|
logfail: Rename capturelog module.
When trying to use this as conftest for the updated tests, pytest_* would be
interpreted as hook otherwise.
|
2015-09-09 07:58:14 +02:00 |
|
Alexander Cogneau
|
418328e61b
|
Cookie tests done
|
2015-09-03 18:17:39 +02:00 |
|
Alexander Cogneau
|
96e3a0b1f1
|
first cookie tests
|
2015-09-03 17:24:01 +02:00 |
|
Florian Bruhin
|
18af0b4b35
|
tests: Make FakeSignal callable.
|
2015-09-02 23:32:06 +02:00 |
|
Florian Bruhin
|
8ea91b5bbc
|
Fix cookiejar_and_cache move.
|
2015-08-31 08:00:21 +02:00 |
|
Florian Bruhin
|
6df00f8266
|
Move cookiejar_and_cache fixture to conftest.py.
|
2015-08-30 23:11:23 +02:00 |
|
Florian Bruhin
|
7bc5996d52
|
tests: Provide activeWindow() in FakeQApplication.
|
2015-08-23 21:55:25 +02:00 |
|
Florian Bruhin
|
b11e075047
|
Add __getitem__ to ConfigStub.
|
2015-08-19 20:39:48 +02:00 |
|
Florian Bruhin
|
1ddd65304a
|
tests: Use a real signal for ConfigStub.
|
2015-08-19 19:37:19 +02:00 |
|
Florian Bruhin
|
086c6c81a1
|
Simplify message_mock usage and assert more things.
|
2015-08-19 09:44:31 +02:00 |
|
Florian Bruhin
|
e4a0f1972f
|
tests: Improve MessageMock and use it.
|
2015-08-18 21:38:18 +02:00 |
|
Florian Bruhin
|
6d1b0ba260
|
Clean up conftest.py.
|
2015-08-18 20:43:42 +02:00 |
|
Florian Bruhin
|
2c5269acd6
|
Reorganize tests directory.
|
2015-08-18 20:19:02 +02:00 |
|