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: pass list of string to subprocess #334

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

bdrung
Copy link
Collaborator

@bdrung bdrung commented Jun 7, 2024

subprocess.run takes a list of strings. So convert pathlib.Path to str before.

`subprocess.run` takes a list of strings. So convert `pathlib.Path` to
`str` before.

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

codecov bot commented Jun 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.40%. Comparing base (52560e6) to head (c5cb443).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #334   +/-   ##
=======================================
  Coverage   82.40%   82.40%           
=======================================
  Files          94       94           
  Lines       19334    19334           
  Branches     3113     3113           
=======================================
  Hits        15932    15932           
  Misses       2906     2906           
  Partials      496      496           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bdrung bdrung requested a review from schopin-pro June 7, 2024 22:07
@schopin-pro schopin-pro merged commit 840ef7a into canonical:main Jun 11, 2024
21 checks passed
@bdrung bdrung deleted the subprocess-string branch June 11, 2024 16:53
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