From 3982a50595b6d01f8d2540b8a178ed94bf5d16e6 Mon Sep 17 00:00:00 2001 From: Germano Guerrini Date: Thu, 14 Mar 2024 09:08:47 +0100 Subject: [PATCH] Updated tests and fixed deprecation warning in github workflow --- .github/workflows/python-publish.yml | 8 ++++---- tests/test_hda.py | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index adbbc00..548f631 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -6,7 +6,7 @@ name: Upload Python Package on: push: {} - + pull_request: {} release: @@ -17,7 +17,7 @@ jobs: name: Code QA runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: pip install black flake8 isort - run: black --version - run: isort --version @@ -38,7 +38,7 @@ jobs: needs: quality steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: actions/setup-python@v2 with: @@ -63,7 +63,7 @@ jobs: needs: checks steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v2 diff --git a/tests/test_hda.py b/tests/test_hda.py index c63a514..0ac8d65 100644 --- a/tests/test_hda.py +++ b/tests/test_hda.py @@ -64,7 +64,6 @@ def test_custom_path_config(): def test_mixed_config(): config = Configuration(user="TU", password="TP", path=CUSTOM_HDRRC) c = Client(config=config) - assert c.config.url == "TESTURL" assert c.config.user == "TU" assert c.config.password == "TP"