summaryrefslogtreecommitdiff
path: root/webtest/utils.py
Commit message (Collapse)AuthorAgeFilesLines
* Dropped support for Python 2.7 and 3.5David Smith2020-11-071-13/+12
|
* Merge pull request #226 from atlanticventures/masterGael Pasgrimaud2020-04-301-0/+4
|\ | | | | _RequestCookieAdapter do not have a `host` property
| * Added new host property to _RequestCookieAdapterRudá Porto Filgueiras2020-01-091-0/+4
| | | | | | This is an edge case when running tests in a docker container.
* | Add queryparams to the head method.Rémy HUBSCHER2020-01-231-0/+11
|/ | | | Fixes #220.
* Support for PYTHONOPTIMIZE=2, fix tests on PYTHONOPTIMIZE=1, 2John Carter2019-01-181-1/+6
| | | | | | * skip tests that rely on assert if optimize is enabled * skip docstring test if PYTHONOPTIMIZE=2 * try/except on docstring handling in case of PYTHONOPTIMIZE=2
* Fix strict cookie policy.Florian Schulze2017-08-011-1/+1
| | | | | The commit b35063f1bc6f6b0cd92b68c56838f385b56e8d00 added a shortcut that breaks strict cookie policies. We now add ``.local`` to domain names with no dot in them.
* allow to use set_cookie when HTTP_HOST is setGael Pasgrimaud2017-03-151-1/+1
|
* JSON methods respect content_type argument if passedSteven Loria2015-11-141-2/+1
| | | | | Allows, for example: self.post_json(url, data, content_type='application/vnd.api+json')
* fixed #130 by removing useless codeGael Pasgrimaud2015-02-051-4/+0
|
* improve test coverage. we're back at 100%Gael Pasgrimaud2014-04-161-1/+2
|
* Fixed #92 You can now override TestApp.JSONEncoder to use a custom encoderGael Pasgrimaud2014-04-161-2/+2
|
* origin_req_host is an attribute. see #64Gael Pasgrimaud2013-04-171-3/+4
|
* fixed #64Gael Pasgrimaud2013-04-171-5/+2
|
* Support secure cookiesAndrey Lebedev2013-03-081-0/+15
| | | | | | Add missing methods to _RequestCookieAdapter to comply with requirements of urllib2.Request interfaces (specified at http://docs.python.org/2/library/cookielib.html#cookielib.CookieJar.add_cookie_header)
* Rewrote TestResponse._find_element.Georges Dubus2013-02-231-15/+0
| | | | | Removed the anchor argument of TestResponse.click and the button argument of TestResponse.clickbutton. Removed utils.parse_attrs.
* Fixes to the doc, mostly links and typos.Georges Dubus2013-02-231-3/+3
| | | | | Also added intersphinx (http://sphinx-doc.org/ext/intersphinx.html) to have nice links to the webob doc.
* group private methodsDomen Kožar2013-02-231-0/+46
|
* __name__ can't be unicode and we use future's unicode_literals; use ↵Gael Pasgrimaud2013-02-221-1/+1
| | | | unitests2 with py26
* 100% test coverage for webtest.utilsMathieu Agopian2013-02-221-5/+3
|
* Use cookielib.CookieJar, welcome to 2008.Domen Kožar2013-02-211-27/+1
|
* simplify utils.py, add unittests (incomplete)Domen Kožar2013-02-211-39/+23
|
* merge conflictsGael Pasgrimaud2013-02-121-2/+26
|\
| * Make TestApp.cookies smarter.Julian Berman2013-02-111-2/+26
| |
* | small improvement on json_methodGael Pasgrimaud2013-01-291-3/+8
| |
* | use a 'decorator' for *_json since they all have the same behavior. this ↵Gael Pasgrimaud2013-01-291-1/+30
| | | | | | | | remove useless duplicated code/docs
* | remove unsused codeGael Pasgrimaud2013-01-281-36/+0
|/
* split code in forms and utils modulesGael Pasgrimaud2012-12-091-0/+133