[pytest-dev] Unforseen delay wrt hangout, might not make it before 21:15

2015-12-15 Thread Ronny Pfannschmidt
Hi, As of now in the best case, I can still arrive home at 21:00 But please be prepared that I might be up to 15 minutes late. Sorry for the inconvenience. MFG Ronny ___ pytest-dev mailing list pytest-dev@python.org

Re: [pytest-dev] Parametrized scope question

2015-12-15 Thread holger krekel
On Tue, Dec 15, 2015 at 14:11 +, Alex Netes wrote: > > I think you could use a marker on the class or even just a class attribute: > > > > import pytest > > > > @pytest.fixture(scope="class") > > def fix(request): > > return request.cls.attr * 10 > > > > class TestA:

Re: [pytest-dev] Parametrized scope question

2015-12-15 Thread Alex Netes
Hi holger, Thanks for your help. > 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.

[pytest-dev] pytest hangout meeting minutes

2015-12-15 Thread Florian Bruhin
We had an (experimental) Google Hangout meeting with some core developers today - here are the notes I took, completely unedited because I want to go to sleep ;) If I missed or misrepresented something, please let me know - sorry! pytest hangout meeting == people -- -

Re: [pytest-dev] pytest hangout meeting minutes

2015-12-15 Thread Bruno Oliveira
Thanks Florian for taking the time to create this transcript! :) On Tue, Dec 15, 2015 at 7:42 PM Florian Bruhin wrote: > We had an (experimental) Google Hangout meeting with some core > developers today - here are the notes I took, completely unedited > because I want to

Re: [pytest-dev] Parametrized scope question

2015-12-15 Thread Alex Netes
Hi holger, > Hi Alex, > > On Tue, Dec 15, 2015 at 09:18 +, Alex Netes wrote: > > Hi holger, > > > > Thanks for your help. > > > > > 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

Re: [pytest-dev] Parametrized scope question

2015-12-15 Thread Bruno Oliveira
Hi, Another option is to use fixtures to obtain the values, since fixtures can be overwritten in subclasses: import pytest class Base: @pytest.fixture(scope='class') def param(self): assert 0 @pytest.yield_fixture(scope='class') def fix(self, param, request):