Florian Bruhin
021c94eece
Rewrite test_enum.py to use pytest.
...
See #660 .
2015-05-10 16:19:30 +02:00
Florian Bruhin
8398fe3bdd
Rewrite test_log.py to use pytest.
...
See #660 .
2015-05-10 16:19:30 +02:00
Florian Bruhin
f9876823b8
Add a new config_stub fixture.
...
This replaces various other constructs:
- The default_config fixture - this means the config values used by
test_progress.py are set explicitly and the (rather complex) default config
is mocked out.
- stubs.ConfigStub which was created by the tests manually before.
2015-05-07 22:56:31 +02:00
Florian Bruhin
903d437943
Fix flaky log_time test.
2015-05-06 11:21:49 +02:00
Florian Bruhin
4925091ede
Merge branch 'master' of github.com:The-Compiler/qutebrowser
2015-04-22 07:43:01 +02:00
Florian Bruhin
cc738fa846
Make test_log_time less flaky.
2015-04-16 08:58:48 +02:00
Florian Bruhin
987bab9960
Merge pull request #19 from hackebrot/parametrize-sub-tests
...
Parametrize sub tests
2015-04-14 07:01:53 +02:00
Florian Bruhin
ba678e29fb
Fix lint.
2015-04-14 07:00:56 +02:00
Bruno Oliveira
6ae94d6f49
Create module overflow_test_cases
...
As suggested by @The-Compiler
2015-04-13 18:20:40 -03:00
Florian Bruhin
a6e3199616
Fix binding of special keys with lower-case mods.
2015-04-13 22:08:57 +02:00
Bruno Oliveira
f4c46ec1c5
Improve test legibility in TestCheckOverflow
...
Created OverflowTestCases which is responsible to provide data for the tests
2015-04-10 18:22:02 -03:00
Florian Bruhin
74f4642a2c
Fix lint.
2015-04-09 07:35:33 +02:00
Florian Bruhin
44a6617184
Add docstring for patch_read_file.
2015-04-09 06:53:21 +02:00
Bruno Oliveira
853280feeb
Convert test_qtutils to pytest
2015-04-08 20:25:01 -03:00
Raphael Pierzina
b18c1254a4
Use an autofixture that monkeypatches read_file for both tests
2015-04-09 00:46:48 +02:00
Raphael Pierzina
c3e615dfa3
Remove the test class from test_jinja.py
2015-04-09 00:38:57 +02:00
Raphael Pierzina
d91400c3be
Use pytest monkeypatch instead of unittest.mock.patch
2015-04-09 00:32:24 +02:00
Raphael Pierzina
63ce7d6e02
Remove unittest methods in favor of pytest assert statements
2015-04-08 23:57:08 +02:00
Florian Bruhin
9d44f777c0
Fix lint.
2015-04-05 20:30:31 +02:00
Bruno Oliveira
bfc99f09f9
Renamed test to tests as suggested by @The-Compiler
2015-04-05 12:23:04 -03:00