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