-
Notifications
You must be signed in to change notification settings - Fork 91
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
Remove unneeded implementations from fake shutil #194
Comments
I see. You are saying that we can let |
Yes, this is actually what we are already doing, since I removed |
An excellent discovery. When you remove the fake functionality, you will remove tests as well, but please leave one or two tests as canaries. For example, leave the test for |
- adapted tests to work with fake_filesystem_unittest.TestCase - fixed some tests - FakePathModule: do not implement samefile if not existent - fake_filesystem.ResolvePath: consider alternative path separator for resolving links - fixes pytest-dev#194
- adapted tests to work with fake_filesystem_unittest.TestCase - fixed some tests - FakePathModule: do not implement samefile if not existent - fake_filesystem.ResolvePath: consider alternative path separator for resolving links - fixes pytest-dev#194
- adapted tests to work with fake_filesystem_unittest.TestCase - fixed some tests - FakePathModule: do not implement samefile if not existent - fake_filesystem.ResolvePath: consider alternative path separator for resolving links - fixes pytest-dev#194
- adapted tests to work with fake_filesystem_unittest.TestCase - fixed some tests - FakePathModule: do not implement samefile if not existent - fake_filesystem.ResolvePath: consider alternative path separator for resolving links - fixes pytest-dev#194
- adapted tests to work with fake_filesystem_unittest.TestCase - fixed some tests - FakePathModule: do not implement samefile if not existent - fake_filesystem.ResolvePath: consider alternative path separator for resolving links - fixes pytest-dev#194
- adapted tests to work with fake_filesystem_unittest.TestCase - fixed some tests - fake_filesystem.ResolvePath: consider alternative path separator for resolving links - fixes pytest-dev#194
- adapted tests to work with fake_filesystem_unittest.TestCase - fixed some tests - fixed handling of supports_dir_fd - fake_filesystem.ResolvePath: consider alternative path separator for resolving links - fixes pytest-dev#194
- adapted tests to work with fake_filesystem_unittest.TestCase - fixed some tests - fixed handling of supports_dir_fd - fake_filesystem.ResolvePath: consider alternative path separator for resolving links - fixes pytest-dev#194
- adapted tests to work with fake_filesystem_unittest.TestCase - fixed some tests - fake_filesystem.ResolvePath: consider alternative path separator for resolving links - fixes pytest-dev#194
- adapted tests to work with fake_filesystem_unittest.TestCase - fixed some tests - fake_filesystem.ResolvePath: consider alternative path separator for resolving links - fixes pytest-dev#194
- adapted tests to work with fake_filesystem_unittest.TestCase - fixed some tests to work with the real shutil - fake_filesystem.ResolvePath: consider alternative path separator for resolving links - fixes pytest-dev#194
- adapted tests to work with fake_filesystem_unittest.TestCase - fixed some tests - fake_filesystem.ResolvePath: consider alternative path separator for resolving links - fixes pytest-dev#194
* Removed most of FakeShutilModule functionality - adapted tests to work with fake_filesystem_unittest.TestCase - fixed some tests - fake_filesystem.ResolvePath: consider alternative path separator for resolving links - fixes #194 * Correct docstring for disk_usage()
This one depends on the implementation of #189, #192 and #193.
Most of the implementation of
shutil
depends only onos
functionality that is already faked out and can be safely removed.The text was updated successfully, but these errors were encountered: