Skip to content

Commit

Permalink
Fix issue after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
tatiana committed Aug 16, 2024
1 parent b6813af commit 0ff5c7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions cosmos/operators/virtualenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,9 @@ def clean_dir_if_temporary(self) -> None:
def execute(self, context: Context) -> None:
try:
output = super().execute(context)
self.log.info(output)
finally:
self.clean_dir_if_temporary()
else:
self.log.info(output)

def on_kill(self) -> None:
self.clean_dir_if_temporary()
Expand Down
2 changes: 1 addition & 1 deletion tests/dbt/test_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -1518,7 +1518,7 @@ def test_save_dbt_ls_cache(mock_variable_set, mock_datetime, tmp_dbt_project_dir
hash_dir, hash_args = version.split(",")
assert hash_args == "d41d8cd98f00b204e9800998ecf8427e"
if sys.platform == "darwin":
assert hash_dir == "6534a9963174a3adf58725f7f06a30a1"
assert hash_dir == "c1e25b0679b5ddcb636bcc30f2f85a06"
else:
assert hash_dir == "6f63493009733a7be34364a6ea3ffd3c"

Expand Down

0 comments on commit 0ff5c7a

Please sign in to comment.