Skip to content

Commit 2d821b3

Browse files
committed
add back removed tests
1 parent e15a37a commit 2d821b3

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

tests/test_dirhash.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -797,15 +797,15 @@ def test_hash_cyclic_link(self):
797797
allow_cyclic_links=True
798798
)
799799

800-
# def test_pass_filtering_instance(self):
801-
# self.mkdirs('root')
802-
# self.mkfile('root/f1', '')
803-
# dirhash(self.path_to('root'), 'sha256', filtering=Filter())
804-
#
805-
# def test_pass_protocol_instance(self):
806-
# self.mkdirs('root')
807-
# self.mkfile('root/f1', '')
808-
# dirhash(self.path_to('root'), 'sha256', protocol=Protocol())
800+
def test_pass_filtering_instance(self):
801+
self.mkdirs('root')
802+
self.mkfile('root/f1', '')
803+
dirhash_impl(self.path_to('root'), 'sha256', filter_=Filter())
804+
805+
def test_pass_protocol_instance(self):
806+
self.mkdirs('root')
807+
self.mkfile('root/f1', '')
808+
dirhash_impl(self.path_to('root'), 'sha256', protocol=Protocol())
809809

810810
def test_raise_on_wrong_type(self):
811811
self.mkdirs('root')

0 commit comments

Comments
 (0)