Skip to content

Split out Pytest plugins#1106

Closed
andyleejordan wants to merge 102 commits into
pytest/mainfrom
andschwa/plugin-split
Closed

Split out Pytest plugins#1106
andyleejordan wants to merge 102 commits into
pytest/mainfrom
andschwa/plugin-split

Conversation

@andyleejordan
Copy link
Copy Markdown
Member

This builds on top of #1065, which is still under review by @lpereira and @squirrelsc, but I need to open this to run the GitHub action for testing. This splits out the Pytest plugins per the TSD, which means we're close to being ready to upload to PyPi. Before that I need to do a subtree export and open a different PR to main so we can consolidate codebases.

This is a _working_ test.
Extend Fabric’s Connection class with a new (and simple) command “cat”
which return the value of a remote file as a string.

Setup a Config for the Connection when creating it that echoes every
command, disables the stdin forwarding (since we’re running under
Pytest), and fixes the PATH since the remote commands don’t run under a
login shell.
This could be extended to instead deploy a host of the specified distro.
Most likely we’ll want a command-line parameter that the fixture uses to
create a Node with the given requirements, and then tests will be
skipped if their requirements aren’t met.

Further more, the mark here is very simple. It can instead take keyword
arguments, which would map to our metadata.
As supplying types for these would be supremely annoying.
Accidentally eliminated Fabric’s default overrides of Invoke by
supplying my own config based on `invoke.Config` to Fabric. Oops.
@andyleejordan andyleejordan added 🛑 DO-NOT-MERGE 🆕 LISAv3 Incubation work for the next version of LISA labels Nov 20, 2020
@andyleejordan andyleejordan force-pushed the andschwa/plugin-split branch 3 times, most recently from 04a2c59 to dfa10b0 Compare November 20, 2020 04:59
Just forwards to Pytest, but hey!
@andyleejordan
Copy link
Copy Markdown
Member Author

All right, cool, did the subtree split and closing to open a new PR to main!

@LiliDeng LiliDeng deleted the andschwa/plugin-split branch November 6, 2025 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🛑 DO-NOT-MERGE 🆕 LISAv3 Incubation work for the next version of LISA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant