Skip to content

Commit

Permalink
fix: patching of template directories
Browse files Browse the repository at this point in the history
  • Loading branch information
neilmunday committed Jan 15, 2024
1 parent f30f9a0 commit 0dbe1ea
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/unit/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,9 @@ def mock_slurmmail_cli_tail_file():
def set_slurmmail_cli_values():
with patch("slurmmail.cli.conf_dir", CONF_DIR):
with patch("slurmmail.cli.conf_file", CONF_FILE):
with patch("slurmmail.cli.tpl_dir", TEMPLATES_DIR):
yield
with patch("slurmmail.cli.html_tpl_dir", HTML_TEMPLATES_DIR):
with patch("slurmmail.cli.text_tpl_dir", TEXT_TEMPLATES_DIR):
yield


#
Expand Down

0 comments on commit 0dbe1ea

Please sign in to comment.