hpk at trillke.net
Mon Oct 23 08:26:37 CEST 2006
On Sun, Oct 22, 2006 at 22:39 +0200, Maciek Fijalkowski wrote:
> not to forget...
> When writing tests for LSession/RSession and friends, there are two
> States of setups, one in tests and one in testing utility itself. They
> badly interfere (like setup_module called few times). I don't know if
> it's a bug or whatever. I can propose several things:
> 1. Not use setup_* in those tests (this is done by now)
> 2. Make sure that setup_module is never introduced twice for the same
> module (as a warning or whatever) - I think it's easy to implement and
> quite usefull, but still you cannot use two states
> 3. Make somehow two possible states - one for testing, one for running
> test suite, altough it's hard to do.
can you give a more concrete example of what goes bad?
More information about the Pytest-dev