Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test directory loop detection #18

Open
israel-lugo opened this issue Sep 10, 2017 · 1 comment
Open

Test directory loop detection #18

israel-lugo opened this issue Sep 10, 2017 · 1 comment

Comments

@israel-lugo
Copy link
Owner

We need to implement tests for the directory loop detection, which was implemented in issue #17.

@israel-lugo
Copy link
Owner Author

Perhaps monkeypatch os.walk() to return a fake directory tree, and monkeypatch os.stat to return repeated inodes? Or we could just test finddups.filter_visited() directly and give it a fake already_visited, that contains one of the real directories.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant