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: let fake_getpwuid return pwd.struct_passwd #248

Merged
merged 1 commit into from Nov 7, 2023

Conversation

bdrung
Copy link
Collaborator

@bdrung bdrung commented Nov 2, 2023

pwd.getpwuid returns a pwd.struct_passwd. So let fake_getpwuid return the same type.

`pwd.getpwuid` returns a `pwd.struct_passwd`. So let `fake_getpwuid`
return the same type.

Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
Copy link

codecov bot commented Nov 2, 2023

Codecov Report

Merging #248 (1a282ca) into main (c143c7c) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #248   +/-   ##
=======================================
  Coverage   83.73%   83.73%           
=======================================
  Files          93       93           
  Lines       18768    18768           
=======================================
  Hits        15716    15716           
  Misses       3052     3052           
Files Coverage Δ
tests/integration/test_ui.py 97.44% <100.00%> (ø)

@schopin-pro schopin-pro merged commit 2fdb988 into canonical:main Nov 7, 2023
25 checks passed
@bdrung bdrung deleted the fix-struct_passwd branch November 7, 2023 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants