Florian Bruhin
150a83d8f4
pylint: Remove unneeded supressions.
2015-12-01 22:03:58 +01:00
Florian Bruhin
102db181c5
Remove unused imports.
2015-11-26 15:55:40 +01:00
Florian Bruhin
7eb6f658eb
tests: Use JSON for webserver_sub logging.
...
This simplifies logging output and parsing.
2015-11-26 14:40:20 +01:00
Florian Bruhin
7cfea665ff
tests: Strip trailing slash for webserver paths.
2015-11-25 10:40:24 +01:00
Daniel Schadt
c7294781f5
Don't make ExpectedRequest orderable
...
Instead, make it hashable and use collections.Counter instead of sorted
lists. This actually produces a nicer output for differences between
the counters.
2015-11-21 00:20:09 +01:00
Daniel Schadt
c12011c84d
Style fixes
2015-11-21 00:10:49 +01:00
Daniel Schadt
452c6f5310
Add __str__ method to ExpectedRequest
...
Better for reading test logs.
2015-11-20 13:35:24 +01:00
Daniel Schadt
4060fd5e90
Fix mhtml tests
2015-11-18 19:56:49 +01:00
Florian Bruhin
516a81c3cc
tests: Don't parse httpbin date.
...
We don't need the parsed date, and the parsing is locale dependent, which can
cause trouble.
2015-11-17 07:36:21 +01:00
Florian Bruhin
7fe9be432a
tests: Make httpbin.Request a proper class.
2015-11-16 23:24:11 +01:00
Florian Bruhin
e9ece3d114
tests: Validate **kwargs for TestProcess.wait_for.
2015-11-13 23:26:14 +01:00
Florian Bruhin
8664e45558
Use httpbin.Request namedtuple for comparisons.
...
This makes it easier to look at the pytest diff when things go wrong.
2015-11-01 22:40:11 +01:00
Florian Bruhin
4bf6359205
Rename Request.url to Request.path.
2015-11-01 22:40:11 +01:00
Florian Bruhin
c052c8a107
Don't show full debug log without --verbose.
2015-11-01 22:40:11 +01:00
Florian Bruhin
76fcec4e4c
tests: First steps towards end-to-end tests.
2015-11-01 22:40:11 +01:00
Florian Bruhin
f858af666f
testprocess: Get executable/args from subclasses.
2015-10-14 21:52:11 +02:00
Florian Bruhin
294eb19e61
Fix tests/integration/webserver.py when frozen.
2015-10-10 17:41:27 +02:00
Florian Bruhin
3e9088083f
Raise correct InvalidLine exception.
2015-10-10 17:29:23 +02:00
Florian Bruhin
2f075c382b
Move out test process handling to its own file.
2015-10-10 17:20:20 +02:00
Florian Bruhin
ae07e00038
Move httpbin stuff out of integration/conftest.py.
2015-09-18 20:20:06 +02:00
Florian Bruhin
a8a2fd2e7d
Rename webserver.py to webserver_sub.py.
2015-09-18 20:08:31 +02:00
Florian Bruhin
2cb1f9226a
Make httpbin tests run when frozen.
2015-09-17 21:51:09 +02:00
Florian Bruhin
c195ee225d
Add missing docs and fix lint.
2015-09-17 19:02:03 +02:00
Florian Bruhin
fd264631c4
Move httpbin data to data/ instead of html/.
2015-09-17 19:02:03 +02:00
Florian Bruhin
48b599a774
Start work on httpbin integration tests.
2015-09-17 19:02:03 +02:00