From f8d67447c85d49d0d754d65967f55e7e6e48bd05 Mon Sep 17 00:00:00 2001 From: Sergey Scat <31442538+sergey-scat@users.noreply.github.com> Date: Fri, 29 Sep 2023 14:32:25 +0300 Subject: [PATCH] Update workflow (#21) * Add Python 3.11 to the testing workflow * Fix a Proxy server issue in tests: Replace proxy.com with example.com because proxy.com now has 2 IP addresses (tests don't always pass because different IPs are resolved). --- .github/workflows/python-package.yml | 2 +- tests/data/data.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 35d965d..845d92a 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.7', '3.8', '3.9', '3.10'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] steps: - uses: actions/checkout@v2 diff --git a/tests/data/data.py b/tests/data/data.py index f4d933c..fc53f13 100644 --- a/tests/data/data.py +++ b/tests/data/data.py @@ -30,7 +30,7 @@ IMAGE_FILE_BASE64 = base64.b64encode(IMAGE_FILE_BYTES) IMAGE_FILE_BASE64_STR = IMAGE_FILE_BASE64.decode('ascii') -PROXY_ADDRESS = 'http://login:password@proxy.com:8080' +PROXY_ADDRESS = 'http://login:password@example.com:8080' PROXY_OBJ = ProxyServer(PROXY_ADDRESS) PROXY_TYPE = 'HTTP'