Skip to content

Commit

Permalink
main coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
drernie committed Aug 18, 2024
1 parent 6c13d63 commit 7ec110a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions athena_federation/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# Import the SDK
from .athena_data_source import AthenaDataSource # noqa: F401
from .lambda_handler import AthenaLambdaHandler # noqa: F401
from .main import main # noqa: F401
from .models import * # noqa: F401,F403
from .sdk import AthenaFederationSDK # noqa: F401
from .utils import AthenaSDKUtils # noqa: F401
9 changes: 9 additions & 0 deletions tests/test_main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from athena_federation import main


def test_main(capsys):
main()
captured = capsys.readouterr()
assert "Hello from athena_federation!" in captured.out
assert "Arguments: " in captured.out
assert "Environment: " in captured.out

0 comments on commit 7ec110a

Please sign in to comment.