Skip to content

Expose the execute_utility function #65

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

Closed
wants to merge 1 commit into from

Conversation

asavchkov
Copy link
Contributor

This function should be exposed in the package to be able to reuse it when there is a need to run commands in tests like e.g. this: https://github.com/postgrespro/pg_probackup/blob/22c808312f67a060cda3bb36e5a032784a5810f9/tests/helpers/ptrack_helpers.py#L98

@asavchkov asavchkov requested review from AndrewBille and kulaginm May 6, 2022 11:32
@codecov
Copy link

codecov bot commented May 6, 2022

Codecov Report

Merging #65 (bf249d0) into master (87e9fd5) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #65   +/-   ##
=======================================
  Coverage   96.05%   96.05%           
=======================================
  Files          18       18           
  Lines        1671     1671           
=======================================
  Hits         1605     1605           
  Misses         66       66           
Impacted Files Coverage Δ
testgres/__init__.py 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 87e9fd5...bf249d0. Read the comment docs.

@demonolock
Copy link
Contributor

Using execute_utility allowed through testgres.node.execute_utility("ls"). Is it enough @asavchkov ? Can I close the pull request?

@demonolock demonolock closed this Jan 18, 2024
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.

3 participants