Florian Bruhin
982a6eccfb
Rewrite tests/browser/test_webelem.py for pytest.
2015-08-02 22:16:03 +02:00
Florian Bruhin
2190316b27
Fix lint.
2015-08-02 20:16:28 +02:00
Florian Bruhin
f8f03ea99d
Small simplification in test_http_hypothesis.
2015-08-02 20:14:39 +02:00
Florian Bruhin
07641830ae
Add hypothesis tests for http/rfc6266.
...
See #830 .
2015-08-02 20:12:10 +02:00
Florian Bruhin
25d1064aee
Add some more rfc6266 tests.
2015-08-02 19:39:05 +02:00
Florian Bruhin
33915b65cf
Test getting path without Content-Disposition.
2015-08-02 17:19:20 +02:00
Florian Bruhin
359b886ba0
Small style fixes for test_content_disposition.
2015-08-02 14:07:28 +02:00
Florian Bruhin
dacf2cace2
Fix line length.
2015-08-02 01:57:16 +02:00
Florian Bruhin
26f6bb7d0d
Rewrite browser.test_tabhistory.py for pytest.
2015-08-02 00:34:04 +02:00
Florian Bruhin
1672399252
Remove unused imports.
2015-06-28 23:20:56 +02:00
Florian Bruhin
9b264c7514
tests: Share common markers.
2015-06-28 22:58:48 +02:00
Florian Bruhin
98d1fca220
Use monkeypatch instead of mocker in some tests.
...
See #660 .
2015-05-18 23:32:01 +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
Bruno Oliveira
a29b78e8ca
Use mocker fixture instead of unittest.mock
...
As pointed out by @hackebrot
2015-04-08 01:07:55 -03:00
Bruno Oliveira
26dc275db3
Compare full lists instead of looping over items as suggested by @hackebrot
2015-04-08 01:06:31 -03:00
Bruno Oliveira
8702ac8a98
Fix small docstring issues
2015-04-08 01:06:30 -03: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