diff options
author | Chris Dent <cdent@anticdent.org> | 2023-04-30 12:19:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-30 12:19:09 +0100 |
commit | 36fd9632d6ad880b24177a08435eb8e1f9b01714 (patch) | |
tree | e40622cf6a8167ea54c098a3db2361c6dab96b8c /tests/test_proxy.py | |
parent | 59eaf315d0e25ea8189e63d4f448d9808f8eb85d (diff) | |
download | paste-git-36fd9632d6ad880b24177a08435eb8e1f9b01714.tar.gz |
Add github actions tests (#77)
Borrowing the configuration from wsg-intercept and then editing
to fit so that we've got some automated tests.
To get this to work it was necessary to:
* adjust python versions
* update action version
* pin the ubuntu version
* fix warning in test_grantip
* form.cgi needs to not use six because it is not running in
the virtualenv
* quiet deprecations in in form.cgi because cgi module is deprecated
* Skip the proxy test as it uses httpbin.org which is unreliable
Diffstat (limited to 'tests/test_proxy.py')
-rw-r--r-- | tests/test_proxy.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_proxy.py b/tests/test_proxy.py index 844f9a0..5f80fef 100644 --- a/tests/test_proxy.py +++ b/tests/test_proxy.py @@ -1,6 +1,11 @@ +import pytest + from paste import proxy from paste.fixture import TestApp +# TODO: Skipping this for now as it is unreliable. Ideally we'd run something +# locally and not have to rely on external stuff. +@pytest.mark.skip(reason="httpbin.org is too slow these days") def test_proxy_to_website(): # Not the most robust test... # need to test things like POSTing to pages, and getting from pages |