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

Change pathlib.Path.owner()/group() to behave like real os #682

Merged
merged 1 commit into from
Jun 7, 2022

Conversation

mrbean-bremen
Copy link
Member

- both methods now look up the real user/group name for the user/group id
  that is associated with the fake file
- assumes a valid user and group id is set
- closes pytest-dev#678
@mrbean-bremen mrbean-bremen merged commit bbba0c6 into pytest-dev:master Jun 7, 2022
@mrbean-bremen mrbean-bremen deleted the real-owner branch October 2, 2022 15:52
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

Successfully merging this pull request may close these issues.

Inconsistent view on file/directory ownership via FakeOsModule and FakePathlibModule
1 participant