Skip to content

Commit

Permalink
Test feed.atom is created
Browse files Browse the repository at this point in the history
  • Loading branch information
Siecje committed Jan 11, 2024
1 parent 4b2fa09 commit c57ed1e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/test_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,3 +433,13 @@ def test_build_from_sub_directory():
result = runner.invoke(build)
assert result.exit_code == 0
assert re.search(SUCCESS_REGEX, result.output)


def test_build_feed_dot_atom():
runner = CliRunner()
with runner.isolated_filesystem():
runner.invoke(start)
runner.invoke(build)
current_directory = os.getcwd()
assert os.path.isfile(os.path.join(current_directory, 'build', 'feed.atom'))

0 comments on commit c57ed1e

Please sign in to comment.