diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1af8142..91fe060 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,11 +8,11 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: [3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12] + python-version: [3.7, 3.8, 3.9, 3.10, 3.11, 3.12] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install requirements @@ -23,9 +23,9 @@ jobs: static-analysis: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: 3.12 - name: Install tools diff --git a/tests/transformation_test.py b/tests/transformation_test.py index 142d08f..b531392 100644 --- a/tests/transformation_test.py +++ b/tests/transformation_test.py @@ -242,8 +242,8 @@ def test_zip(transform): def test_fallback(transform): - target_url = '{}/{}/fallback=cache:12,handle:fallbackHandle/{}'.format(config.CDN_URL, APIKEY, EXTERNAL_URL) - result = transform.fallback(handle='fallbackHandle', cache=12) + target_url = '{}/{}/fallback=cache:12,file:{}/{}'.format(config.CDN_URL, APIKEY, EXTERNAL_URL, EXTERNAL_URL) + result = transform.fallback(file=EXTERNAL_URL, cache=12) assert result.url == target_url