Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
minimike86 committed Dec 22, 2024
1 parent 10a109f commit 17d3a92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions sdlc/check_coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ DIRECTORIES="aws tests twitchrce"
# Run coverage for the specified directories
echo "Running coverage for directories: $DIRECTORIES"

poetry run coverage run --source="$DIRECTORIES" -m pytest
poetry run coverage report
poetry run coverage run --source="$DIRECTORIES" --module pytest
poetry run coverage report --show-missing
2 changes: 1 addition & 1 deletion tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import boto3
import pytest
from moto import mock_aws
from twitchio import BroadcasterTypeEnum, UserTypeEnum, AuthenticationError
from twitchio import AuthenticationError, BroadcasterTypeEnum, UserTypeEnum

from twitchrce.config import bot_config

Expand Down

0 comments on commit 17d3a92

Please sign in to comment.