On Sun, Oct 31, 2021 at 02:40:41PM +0100, Michael Fladischer wrote:
> > If no, also add this line to debian/rules:
> >
> > export PYBUILD_BEFORE_TEST={interpreter} setup.py egg_info
>
> That seems like the best/most elegant solution to me. Thanks for sharing! So
> d/pybuild.testfiles is taken into
Hi Dmitry,
Am 30.10.2021 um 22:04 schrieb Dmitry Shachnev:
I am a bit late, but nobody in this thread mentioned debian/pybuild.testfiles.
It is a list of files or directories that pybuild will copy to its build
directory before running the tests, and delete after running them.
If you have *.eg
Hi Michael!
On Thu, Oct 21, 2021 at 08:55:51PM +0200, Michael Fladischer wrote:
> Hi,
>
> I'm working on src:pytest-lazy-fixtures and was trying to get the unittests
> to run but it seems that I have run into a problem that I'm not sure on how
> to fix it in a clean way.
>
> pytest-lazy-fixtures i
On 10/21/21 8:55 PM, Michael Fladischer wrote:
> Hi,
>
> I'm working on src:pytest-lazy-fixtures and was trying to get the
> unittests to run but it seems that I have run into a problem that I'm
> not sure on how to fix it in a clean way.
>
> pytest-lazy-fixtures is a pytest plugin and registers
Hi Stefano,
Am 22.10.2021 um 05:44 schrieb Stefano Rivera:
pytest also has a mechanism to register plugins through an environment
variable, but I couldn't figure out how to get the test suite to work
with that.
thanks for this hint, that seems like a clean solution for my case:
PYTEST_PLUGINS
Hi Michael
I wrestled with something similar some years ago with translate-toolkit, which
has a set of tests that run the binaries it ships but these (entry-points)
binaries are not generated until after installation.
The pybuild/debhelper sequence is to build, test then install; upstream's vie
Hi Michael (2021.10.21_18:55:51_+)
> pytest-lazy-fixtures is a pytest plugin and registers itself through the
> Python entrypoints mechanism. In its unitests, it assumes that this
> registration has already happened but during dh_auto_test there is no
> .egg-info directory available. I could us
Hi,
I'm working on src:pytest-lazy-fixtures and was trying to get the
unittests to run but it seems that I have run into a problem that I'm
not sure on how to fix it in a clean way.
pytest-lazy-fixtures is a pytest plugin and registers itself through the
Python entrypoints mechanism. In its
8 matches
Mail list logo