Commit Graph

39 Commits

Author SHA1 Message Date
Xiao Tan 9d78a00574 test: HTML parser 2019-02-22 14:16:21 +08:00
Ordanis Sanchez 334821514b Fix tests 2018-09-18 17:10:34 -04:00
Ordanis Sanchez 69dd1cc77f Add asyncsession.run method 2018-09-18 16:59:14 -04:00
Ordanis Sanchez 09c7b683cc Fix r.html.next() for next url 2018-09-18 16:59:14 -04:00
Ordanis Sanchez fc1fabd8dc Fix HTML class to use async iter and render on bare mode 2018-09-18 16:59:14 -04:00
Ordanis Sanchez 85e77d134a Add arender method to HTML 2018-09-18 16:56:55 -04:00
Ordanis Sanchez c12d7c6aca Add async iterator to HTML class 2018-09-18 16:49:22 -04:00
Ordanis Sanchez dd05a02de7 Add HTMLSession.browser runtime exception, AsyncSession an async close method 2018-09-18 16:49:22 -04:00
kennethreitz 2778850a48 cleanup tests
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-03-21 07:32:33 -04:00
Ordanis Sanchez a2cc6bfa55 Update HTML.render to use session.browser anf close pages automatically 2018-03-20 19:50:04 -04:00
Ordanis Sanchez 9a53202ce5 Extend session close method to shutdown browser 2018-03-20 19:20:20 -04:00
Ordanis Sanchez c279bd3d63 Add browser obj to HTMLSession 2018-03-20 18:47:06 -04:00
John Ludwig 016054fc83 Change website to Amazon Smile 2018-03-07 18:46:03 -06:00
Andrew Gorcester 14da46f03d Add tests for ._make_absolute() and make them pass. 2018-03-06 16:06:23 -08:00
Ordanis Sanchez ea05c69fe5 Add HTMLResponse hook and mock_browser param 2018-03-05 15:58:18 -04:00
Ordanis Sanchez 23d81af0ef Add AsyncHTMLSession 2018-03-05 15:58:18 -04:00
kennethreitz 72a7e0be69 Merge branch 'master' of github.com:kennethreitz/requests-html
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2018-03-04 15:23:54 -05:00
kennethreitz 7c1079392d really test it
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-03-03 10:08:40 -05:00
kennethreitz c7d07a0ead containing test
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-03-03 10:07:58 -05:00
kennethreitz 90d9bbbc0f better tests
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-03-03 08:27:02 -05:00
kennethreitz 8af172c5ce vast improvements
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-03-03 08:17:42 -05:00
kennethreitz 581cb3c7ba fix test
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-03-01 12:45:45 -05:00
kennethreitz 9ff7ada2db test eval on bare js page
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-03-01 12:43:35 -05:00
kennethreitz e531e5cab2 updated tests for travis
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-02-28 08:49:38 -05:00
kennethreitz 565cd496c2 bare render tests
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-02-28 08:39:58 -05:00
kennethreitz df39a9f34c tests
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-02-28 06:59:54 -05:00
kennethreitz 95886bdd25 clean up
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-02-28 06:59:14 -05:00
kennethreitz 65f627148c ds store, better tests
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-02-28 06:41:35 -05:00
qiyuan b78e0e9e73 add test for fix45 2018-02-28 12:25:18 +08:00
qiyuan d83ef1a697 add test for fix45 2018-02-28 12:15:06 +08:00
kennethreitz bff28e3dbd additional tests
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-02-27 19:35:47 -05:00
kennethreitz fcfdaf2503 fix things
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-02-27 19:32:53 -05:00
kennethreitz 6182f21318 update tests
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-02-27 07:49:28 -05:00
kennethreitz cea3990b6f let's see if this fixes things
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-02-26 19:35:38 -05:00
kennethreitz 53d1e2abd5 whitespace
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-02-26 17:54:34 -05:00
kennethreitz 5062f69b51 test full_text too
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-02-26 17:52:39 -05:00
kennethreitz 3375647666 fix tests
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-02-26 10:17:20 -05:00
kennethreitz 00f5dcf4e1 fix things
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-02-26 10:10:24 -05:00
kennethreitz d23ce77a6d tests, better code
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2018-02-26 08:19:34 -05:00