Pytest-subprocess looks interesting, I'd probably myself have done the
mocks directly using pytest-mock but it's good to know this exists.

On Mon, 23 Oct 2023, 12:49 Jonathan Kamens, <j...@kamens.us> wrote:

> Hello all,
>
> I'm writing to ask for your assistance in getting pytest-subprocess
> packaged into Debian:
>
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1053360
>
> The use case here is that I've taken over maintenance of apt-listchanges
> and added among other things a unit-test suite, and I want to make the
> unit-tests cover as much of the code as possible, and to do that I need to
> be able to mock out subprocess calls which apt-listchanges does quite a lot
> of in its work.
>
> I am happy to do most of the work if someone on this list is willing to
> mentor me, since I've never packages a Python module for Debian before and
> don't want to screw something up / spin my wheels learning lessons the team
> already has institutional knowledge of. I imagine that packaging a simple
> package like this one is probably quick and straightforward for folks who
> have done it before, so perhaps it would be easier for one of y'all to do
> it than to guide me through the process, but I leave that choice to your
> discretion. ;-)
>
> Thank you in advance for any assistance you can provide.
>
> Regards,
>
> Jonathan Kamens
>
>
>

Reply via email to