Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
e3rd committed Jan 9, 2025
1 parent c30ab2e commit 441addb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_disk.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ def setUp(self):
def test_basic(self):
state = FolderState(self, self.disk / "folder1", self.disk / "folder2")
d = drun(["rename", "execute"], [], [], [], **state)
print("12: d.log", d.changes) # TODO
import sys
print("12: d.log", d.changes, file=sys.stderr) # TODO
state.check(prefixed=("2.txt", "1.txt"))
self.log([
{"folder1/2.txt": ["renaming"], "folder2/2.txt": []},
Expand All @@ -19,7 +20,8 @@ def test_basic(self):
def test_reverse(self):
state = FolderState(self, self.disk / "folder2", self.disk / "folder1")
d = drun(["rename", "execute"], [], [], [], **state)
print(d.changes)
import sys
print("13: d.log", d.changes, file=sys.stderr) # TODO
state.check(prefixed=("folder2.1/1.txt", "2.txt"))
self.log([
{"folder2/2.txt": ["renaming"], "folder1/2.txt": []},
Expand Down

0 comments on commit 441addb

Please sign in to comment.