Skip to content

Commit

Permalink
fmt and mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
wangpatrick57 committed Dec 28, 2024
1 parent 7d9ee75 commit 8fa8ac0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion util/tests/unittest_workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,13 +315,20 @@ def test_save_file_same_dependency_twice(self) -> None:
verify_structure(self.scratchspace_path, self.expected_structure)
)

def test_save_file_two_different_dependencies_with_same_name(self) -> None:
# TODO
# TODO: also do the config version
pass

def test_save_file_config(self) -> None:
"""
See the comments in save_file() for what a "config" is.
"""
self.init_workspace_helper()
assert self.workspace is not None and self.expected_structure is not None
result_path = self.make_file_helper("external/result.txt", file_obj=("file", "contents"))
result_path = self.make_file_helper(
"external/result.txt", file_obj=("file", "contents")
)
self.workspace.save_file(result_path)
self.expected_structure["dbgym_workspace"]["task_runs"][
self.workspace.dbgym_this_run_path.name
Expand Down

0 comments on commit 8fa8ac0

Please sign in to comment.