From 3cf79292f18c2d724a643cd253e28da464feb503 Mon Sep 17 00:00:00 2001 From: henryruhs Date: Thu, 4 Jul 2024 00:09:29 +0200 Subject: [PATCH] Fix CI --- .github/workflows/ci.yml | 2 +- tests/test_helper.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 30509bc..d6a3619 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -86,7 +86,7 @@ jobs: GITLAB_TOKEN: ${{ secrets.GITLAB_TOKEN }} HEROKU_TOKEN: ${{ secrets.HEROKU_TOKEN }} JETBRAINS_TEAMCITY_TOKEN: ${{ secrets.JETBRAINS_TEAMCITY_TOKEN }} - MICROSOFT_GITHUB_TOKEN: ${{ secrets.MICROSOFT_GITHUB_TOKEN }} + MICROSOFT_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NETLIFY_TOKEN: ${{ secrets.NETLIFY_TOKEN }} TRAVIS_TOKEN: ${{ secrets.TRAVIS_TOKEN }} UPTIMEROBOT_TOKEN: ${{ secrets.UPTIMEROBOT_TOKEN }} diff --git a/tests/test_helper.py b/tests/test_helper.py index db47eab..8826df9 100644 --- a/tests/test_helper.py +++ b/tests/test_helper.py @@ -42,12 +42,14 @@ def test_to_lower_case() -> None: def test_has_argument() -> None: sys.argv.clear() sys.argv.append('--valid') + assert helper.has_argument('--valid') is True def test_has_argument_invalid() -> None: sys.argv.clear() sys.argv.append('--invalid') + assert helper.has_argument('--valid') is False