Commit Graph

8 Commits

Author SHA1 Message Date
Krukov D
e31e326f10 Added unicode_literals from future at tests/base (#203) 2016-06-09 12:41:25 -07:00
Krukov D
c4f016b9c2 Fix for apply_routes: wrap routes in list, if it is not so (#192) 2016-06-02 16:25:39 -07:00
Krukov D
1a09540ca8 Added fail_on_none parameter for Client.consume function (#172) 2016-05-28 18:31:15 -07:00
Krukov D
8827063bf2 Remove inherited methods and relative imports (#163)
* Remove inherited methods from HttpClient

* Using relative import in base of tests
2016-05-19 12:19:39 -07:00
Krukov D
05c41e9ad6 More tests utils for happy users (#162)
* Added Client abstraction

* Added apply_routes decorator/contextmanager

* Fix apply routes as decorator

* Separated Http specific client and 'Simple' client

* Remove Clients from ChannelTestCase

* Added cookies and headers management

* Fix wrong reverting

* Fixs for code style

* Added space before inline comment
2016-05-19 11:45:25 -07:00
Krukov D
9505906b42 Fix re-inserting, with tests (#146)
* Stopping re-inserting at first success

* Added a few tests for worker running

* Coping routes in channels layers at the ChannelTestCase

* Remake worker test with less mocking
2016-05-08 12:21:58 -07:00
Andrew Godwin
cf9d7d6f76 Change to more precise TestCase import 2016-05-03 18:06:43 -07:00
Andrew Godwin
0e3c742a80 Introduce ChannelTestCase to make testing easier 2016-04-04 03:34:05 +02:00