Skip to content

Commit

Permalink
Improved test to pass on github
Browse files Browse the repository at this point in the history
  • Loading branch information
sgeulette committed Oct 19, 2023
1 parent 8906f2a commit 1d47fca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion imio/pyutils/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,9 @@ def setUp(self):

def test_read_recursive_dir(self):
res = read_recursive_dir(self.dir, '')
self.assertEqual(len(res), 12)
self.assertEqual(len([path for path in res if path.endswith('.py')]), 7)
self.assertIn('__init__.py', res)
self.assertIn('pyutils/__init__.py', res)
# include folder
self.assertNotIn('pyutils', res)
res = read_recursive_dir(self.dir, '', with_folder=True)
Expand Down

0 comments on commit 1d47fca

Please sign in to comment.