[py-dev] Global state

Elmo Mäntynen elmo13 at jippii.fi
Mon Oct 23 01:56:33 CEST 2006


The tested code interfaces with hardware, so I have to share a handle
between tests which I wouldn't want to confine to a single module. I
used to share state by importing a common module from the test_modules,
but after updating pylib, even skipping every test but one doesn't seem
to work. It might be my fault, but I'd like to know what I should've
been doing so I can test who is really at fault.


Elmo



More information about the Pytest-dev mailing list