[pytest-dev] pytest Python 2.7 support (poll)

2018-09-23 Thread Bruno Oliveira
Hi everyone, There's a poll on twitter regarding when pytest should drop Python 2.7 support: https://twitter.com/ossronny/status/1043837215175057408 I urge everyone who uses pytest to cast their vote! Important to note that even when pytest drops support, Python 2.7 users will still be able to u

Re: [pytest-dev] Accessing markers in pytest_generate_tests

2018-09-23 Thread Nikolaus Rath
On Fri, 21 Sep 2018, at 23:06, Ronny Pfannschmidt wrote: > Am Freitag, den 21.09.2018, 12:44 +0100 schrieb Nikolaus Rath: > > Hello, > > > > I am currently using code like this: > > > > def pytest_generate_tests(metafunc, _info_cache=[]): > > # [...] > > > > fn = metafunc.function >

Re: [pytest-dev] [TIP] pytest Python 2.7 support (poll) (re-sent)

2018-09-23 Thread Ronny Pfannschmidt
(re-sending since i used the wrong mail first) I refuse since its a pain to sort out GDPR compliance when self- hosting that way. public is easy, public and law abiding is a pain. -- Ronny Am Sonntag, den 23.09.2018, 18:57 +0200 schrieb Daniel Knüttel: > Am Sonntag, den 23.09.2018, 08:20 -0500

Re: [pytest-dev] keeping passwords out of code

2018-09-23 Thread Floris Bruynooghe
Hi Derek, On Sat 22 Sep 2018 at 09:19 -0700, Derek Sisson wrote: > I currently use a local yaml file, with passwords keyed to account ids, > along with a data model of users in the codebase keyed to the same IDs. My > conftest queries the yaml file with the ids to grab the passwords, and it's > se