Skip to content

Commit

Permalink
adds simple test that runs the main function
Browse files Browse the repository at this point in the history
  • Loading branch information
beaufour committed Mar 5, 2024
1 parent edd26a9 commit 1881f02
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/test_main.py
@@ -0,0 +1,11 @@
"""Testing that the main function actually loads.
This ensures that all the dependencies actually load too.
"""

from flickr_download.flick_download import main


def test_main() -> None:
"""Loads the main function and expects an exit code of 1."""
assert main() == 1

0 comments on commit 1881f02

Please sign in to comment.