[pytest-dev] Parametrized scope question

2015-12-14 Thread Alex Netes
Hello guys, I'm new to Pytest and I encounter something I cannot explain. I'm trying to give fixture fixt_func() a parameter fixt_prm and expect the fixture to be called only once as it defined with 'class' scope, but the fixture is called twice as it ignores the scope. What am I missing? @pyt

Re: [pytest-dev] Parametrized scope question

2015-12-14 Thread holger krekel
Hi Alex, On Mon, Dec 14, 2015 at 15:50 +, Alex Netes wrote: > Hello guys, > > I'm new to Pytest and I encounter something I cannot explain. I also hit many things which i can not explain, even with pytest and maybe even with this very mail. > I'm trying to give fixture fixt_func() a parame