Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
henryruhs committed Jul 3, 2024
1 parent 4b3f005 commit 3cf7929
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 2 additions & 0 deletions tests/test_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 3cf7929

Please sign in to comment.