From sa at gocept.com Mon May 9 02:20:59 2016 From: sa at gocept.com (Steffen Allner) Date: Mon, 9 May 2016 08:20:59 +0200 Subject: [pytest-dev] Participation at Pytest Sprint 2016 Message-ID: <57c8ad44-9b9e-29b1-4141-c4137351ed01@gocept.com> Hello everybody, I just want to announce that also plan to attend the Sprint in Freiburg. I have already added me to the wiki page. See you there, Steffen -- -- Steffen Allner ? sa at gocept.com gocept gmbh & co. kg ? forsterstra?e 29 ? 06112 halle (saale) ? germany http://gocept.com ? tel +49 345 1229889 0 ? fax +49 345 1229889 1 Python, development -------------- next part -------------- A non-text attachment was scrubbed... Name: 0x9CDCA13F.asc Type: application/pgp-keys Size: 5687 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From chrisspen at gmail.com Fri May 13 13:35:13 2016 From: chrisspen at gmail.com (Chris Spencer) Date: Fri, 13 May 2016 13:35:13 -0400 Subject: [pytest-dev] Running each test in a Vagrant VM? Message-ID: How do you configure Pytest to create a new Vagrant VM before each test and destroy it afterwards? I'm trying to test a sysadmin tool based on Fabric (http://www.fabfile.org/), and so the tests need a fresh target server in a known state to login to. I tried implementing a Pytest plugin, similar to the Fabtools project ( https://github.com/ronnix/fabtools/blob/master/fabtools/tests/functional_tests/conftest.py) but it's unreliable. Each test seems to pass when I run them separately, but when I run all my tests together, there's some bug that's preventing the VM from being destroyed and re-created properly, causing many tests to fail when the previous test leaves the VM in an unexpected state. Has anyone else implemented similar tests with Pytest? -------------- next part -------------- An HTML attachment was scrubbed... URL: From farmi at web.de Mon May 16 01:48:15 2016 From: farmi at web.de (Stefan Farmbauer) Date: Mon, 16 May 2016 07:48:15 +0200 Subject: [pytest-dev] Joining the sprint Message-ID: <57395F1F.8020108@googlemail.com> Hello, I heard about your sprint in Freiburg and would be really happy to help you. I'm using python since about six years now and also pytest since some years. And it's is really great. Unfortunately I never used tox until now but planing to use it in my next project. Right now I'm not familiar with the pytest code but would really enjoy to dive into it. So if you think can need a motivated newby I would be really happy to join you in Freiburg and get involved into improving pytest in the future. Best wishes Stefan Farmbauer From nicoddemus at gmail.com Mon May 16 11:50:37 2016 From: nicoddemus at gmail.com (Bruno Oliveira) Date: Mon, 16 May 2016 15:50:37 +0000 Subject: [pytest-dev] Running each test in a Vagrant VM? In-Reply-To: References: Message-ID: Hi Chris, On Fri, May 13, 2016 at 2:35 PM Chris Spencer wrote: > How do you configure Pytest to create a new Vagrant VM before each test > and destroy it afterwards? > I've not done something similar myself, but I would implement this feature as a fixture, which would create a vagrant vm and destroy it afterwards. > I'm trying to test a sysadmin tool based on Fabric ( > http://www.fabfile.org/), and so the tests need a fresh target server in > a known state to login to. > > I tried implementing a Pytest plugin, similar to the Fabtools project ( > https://github.com/ronnix/fabtools/blob/master/fabtools/tests/functional_tests/conftest.py) > but it's unreliable. Each test seems to pass when I run them separately, > but when I run all my tests together, there's some bug that's preventing > the VM from being destroyed and re-created properly, causing many tests to > fail when the previous test leaves the VM in an unexpected state. > Perhaps can you post the error you are getting exactly? Also others might have more experience with starting/shutdown vagrant from within python. Cheers, Bruno. -------------- next part -------------- An HTML attachment was scrubbed... URL: From flub at devork.be Wed May 18 17:36:49 2016 From: flub at devork.be (Floris Bruynooghe) Date: Wed, 18 May 2016 22:36:49 +0100 Subject: [pytest-dev] Joining the sprint In-Reply-To: <57395F1F.8020108@googlemail.com> References: <57395F1F.8020108@googlemail.com> Message-ID: Hi Stefan, Great to hear you're interested to help out with py.test development. At this stage we've already worked out the budget the best we can and as far as I know we won't be able to support your travel or accommodation unfortunately (but I may be mistaken). I believe the venue we have can probably cope with one extra person, but it would be good to get confirmation from Holger before committing. So if you are able to support yourself we would still be happy to welcome you along. It's not really a problem if you don't know tox, either project is fine for the sprint. Do you have anything specific you want to work on for the sprint? Any features or issues which you've been interested to work on but for some reason never got round to? It probably helps if you have a vague plan ahead of time, you can always get inspiration on the issue tracker. Best Regards, Floris On 16 May 2016 at 06:48, Stefan Farmbauer wrote: > Hello, > > I heard about your sprint in Freiburg and would be really happy to help > you. I'm using python since about six years now and also pytest since > some years. And it's is really great. Unfortunately I never used tox > until now but planing to use it in my next project. Right now I'm not > familiar with the pytest code but would really enjoy to dive into it. So > if you think can need a motivated newby I would be really happy to join > you in Freiburg and get involved into improving pytest in the future. > > Best wishes > Stefan Farmbauer > > _______________________________________________ > pytest-dev mailing list > pytest-dev at python.org > https://mail.python.org/mailman/listinfo/pytest-dev From farmi at web.de Thu May 19 02:24:25 2016 From: farmi at web.de (Farmer) Date: Thu, 19 May 2016 08:24:25 +0200 Subject: [pytest-dev] Joining the sprint In-Reply-To: References: <57395F1F.8020108@googlemail.com> Message-ID: <573D5C19.2080703@web.de> Hi, Nice to get a positive feedback. I don't need any financing support. We, my wife (not a coder) and I are traveling around europe in our camper since a while. So we always have our hotel with us. If you have a nice parking spot it you be perfect, if not it is no problem. We will find something around Freiburg. At the moment I don't have a special issue I wan't to work on. As I told you at the moment I'm not in the py.test code. But I will start to have look. So if you have place and think I'm a useful help, please send me a ok. Best Regards, Stefan Am 18.05.2016 um 23:36 schrieb Floris Bruynooghe: > Hi Stefan, > > Great to hear you're interested to help out with py.test development. > At this stage we've already worked out the budget the best we can and > as far as I know we won't be able to support your travel or > accommodation unfortunately (but I may be mistaken). I believe the > venue we have can probably cope with one extra person, but it would be > good to get confirmation from Holger before committing. So if you are > able to support yourself we would still be happy to welcome you along. > > It's not really a problem if you don't know tox, either project is > fine for the sprint. Do you have anything specific you want to work > on for the sprint? Any features or issues which you've been > interested to work on but for some reason never got round to? It > probably helps if you have a vague plan ahead of time, you can always > get inspiration on the issue tracker. > > Best Regards, > Floris > > > On 16 May 2016 at 06:48, Stefan Farmbauer wrote: >> Hello, >> >> I heard about your sprint in Freiburg and would be really happy to help >> you. I'm using python since about six years now and also pytest since >> some years. And it's is really great. Unfortunately I never used tox >> until now but planing to use it in my next project. Right now I'm not >> familiar with the pytest code but would really enjoy to dive into it. So >> if you think can need a motivated newby I would be really happy to join >> you in Freiburg and get involved into improving pytest in the future. >> >> Best wishes >> Stefan Farmbauer >> >> _______________________________________________ >> pytest-dev mailing list >> pytest-dev at python.org >> https://mail.python.org/mailman/listinfo/pytest-dev From holger at merlinux.eu Thu May 19 05:07:24 2016 From: holger at merlinux.eu (Holger Krekel) Date: Thu, 19 May 2016 11:07:24 +0200 Subject: [pytest-dev] Joining the sprint In-Reply-To: <573D5C19.2080703@web.de> References: <57395F1F.8020108@googlemail.com> <573D5C19.2080703@web.de> Message-ID: <0B6919C4-D060-4DBC-BD78-CA819E7182A4@merlinux.eu> I can see to ask the venue in june if you can stand on their parking lot which is nice and close to the green. Currently in Berlin and on travels till then. As to other people looking for accommodation I'd appreciate if you figure something out yourself or we'll figure something out in June. Still intending to look then into renting a flat for a week or two with multiple beds... They often are offered just in time at http://studenten-wg.de. Cheers holger -- Sent using mobile touch keys, inducing chances for errors, misunderstandings, serendipity. On May 19, 2016 8:24:25 AM GMT+02:00, Farmer wrote: >Hi, > >Nice to get a positive feedback. I don't need any financing support. >We, >my wife (not a coder) and I are traveling around europe in our camper >since a while. So we always have our hotel with us. If you have a nice >parking spot it you be perfect, if not it is no problem. We will find >something around Freiburg. >At the moment I don't have a special issue I wan't to work on. As I >told >you at the moment I'm not in the py.test code. But I will start to have >look. >So if you have place and think I'm a useful help, please send me a ok. > >Best Regards, >Stefan > >Am 18.05.2016 um 23:36 schrieb Floris Bruynooghe: >> Hi Stefan, >> >> Great to hear you're interested to help out with py.test development. >> At this stage we've already worked out the budget the best we can and >> as far as I know we won't be able to support your travel or >> accommodation unfortunately (but I may be mistaken). I believe the >> venue we have can probably cope with one extra person, but it would >be >> good to get confirmation from Holger before committing. So if you >are >> able to support yourself we would still be happy to welcome you >along. >> >> It's not really a problem if you don't know tox, either project is >> fine for the sprint. Do you have anything specific you want to work >> on for the sprint? Any features or issues which you've been >> interested to work on but for some reason never got round to? It >> probably helps if you have a vague plan ahead of time, you can always >> get inspiration on the issue tracker. >> >> Best Regards, >> Floris >> >> >> On 16 May 2016 at 06:48, Stefan Farmbauer wrote: >>> Hello, >>> >>> I heard about your sprint in Freiburg and would be really happy to >help >>> you. I'm using python since about six years now and also pytest >since >>> some years. And it's is really great. Unfortunately I never used tox >>> until now but planing to use it in my next project. Right now I'm >not >>> familiar with the pytest code but would really enjoy to dive into >it. So >>> if you think can need a motivated newby I would be really happy to >join >>> you in Freiburg and get involved into improving pytest in the >future. >>> >>> Best wishes >>> Stefan Farmbauer >>> >>> _______________________________________________ >>> pytest-dev mailing list >>> pytest-dev at python.org >>> https://mail.python.org/mailman/listinfo/pytest-dev >_______________________________________________ >pytest-dev mailing list >pytest-dev at python.org >https://mail.python.org/mailman/listinfo/pytest-dev From farmi at web.de Thu May 19 10:25:46 2016 From: farmi at web.de (Farmer) Date: Thu, 19 May 2016 16:25:46 +0200 Subject: [pytest-dev] Joining the sprint In-Reply-To: <0B6919C4-D060-4DBC-BD78-CA819E7182A4@merlinux.eu> References: <57395F1F.8020108@googlemail.com> <573D5C19.2080703@web.de> <0B6919C4-D060-4DBC-BD78-CA819E7182A4@merlinux.eu> Message-ID: <573DCCEA.4030908@web.de> Hello Holger and Floris, thank you once more for your help already now in advance. As I told you, you really do not have to bother about accommodation for me. I am fine in my camper and I will find a spot to park because I know Freiburg very well...lived there some years ago. Regarding my wishes on what to work on the sprint it's a bit of a challenge to find something in the issue tracker...too many possibilities and no ideas what is really important. I'm really ready to dive into any part. I guess it makes more sense if you tell me where you need help. So if you would give me an idea about a possible issue to work on, I would like to try to get into it before we start the sprint. And then I need only the time and place where we'll meet. Really looking forward to meet you all and work together! Stefan Am 19.05.2016 um 11:07 schrieb Holger Krekel: > I can see to ask the venue in june if you can stand on their parking lot which is nice and close to the green. Currently in Berlin and on travels till then. As to other people looking for accommodation I'd appreciate if you figure something out yourself or we'll figure something out in June. Still intending to look then into renting a flat for a week or two with multiple beds... They often are offered just in time at http://studenten-wg.de. Cheers holger > From nicoddemus at gmail.com Thu May 19 10:29:02 2016 From: nicoddemus at gmail.com (Bruno Oliveira) Date: Thu, 19 May 2016 14:29:02 +0000 Subject: [pytest-dev] Joining the sprint In-Reply-To: <573DCCEA.4030908@web.de> References: <57395F1F.8020108@googlemail.com> <573D5C19.2080703@web.de> <0B6919C4-D060-4DBC-BD78-CA819E7182A4@merlinux.eu> <573DCCEA.4030908@web.de> Message-ID: Hi Stefan, Are you talking about a specific issue, or in a more general way? We have a list of general topics on the indiegogo page: https://www.indiegogo.com/projects/python-testing-sprint-mid-2016 This list could be used as a basis to search issues to work on. Cheers, Bruno On Thu, May 19, 2016 at 11:26 AM Farmer wrote: > Hello Holger and Floris, > > thank you once more for your help already now in advance. As I told you, > you really do not have to bother about accommodation for me. I am fine > in my camper and I will find a spot to park because I know Freiburg very > well...lived there some years ago. > > Regarding my wishes on what to work on the sprint it's a bit of a > challenge to find something in the issue tracker...too many > possibilities and no ideas what is really important. > I'm really ready to dive into any part. > I guess it makes more sense if you tell me where you need help. > > So if you would give me an idea about a possible issue to work on, I > would like to try to get into it before we start the sprint. > > And then I need only the time and place where we'll meet. > Really looking forward to meet you all and work together! > > Stefan > > > > Am 19.05.2016 um 11:07 schrieb Holger Krekel: > > I can see to ask the venue in june if you can stand on their parking lot > which is nice and close to the green. Currently in Berlin and on travels > till then. As to other people looking for accommodation I'd appreciate if > you figure something out yourself or we'll figure something out in June. > Still intending to look then into renting a flat for a week or two with > multiple beds... They often are offered just in time at > http://studenten-wg.de. Cheers holger > > > _______________________________________________ > pytest-dev mailing list > pytest-dev at python.org > https://mail.python.org/mailman/listinfo/pytest-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Nikolaus at rath.org Thu May 19 15:34:43 2016 From: Nikolaus at rath.org (Nikolaus Rath) Date: Thu, 19 May 2016 12:34:43 -0700 Subject: [pytest-dev] Preserving capture fd from fixture setup? Message-ID: <874m9tj0z0.fsf@thinkpad.rath.org> Hello, I am testing a server. I am starting the server in a subprocess from a fixture, and then issue requests to it from various tests. Unfortunately this seems to have one big drawback: when a test fails, the capture plugin does not display any output from the server process. After looking at the code, I think this is because the capture plugin creates a new file descriptor for each test phase (setup, call, teardown). Would it be possible to instead re-use the same fd, and distinguish between phases by recording the position after each phase? If this sounds feasible and desireable, then I'll work on a pull request. Best, -Nikolaus -- GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F ?Time flies like an arrow, fruit flies like a Banana.? From flub at devork.be Fri May 27 09:55:00 2016 From: flub at devork.be (Floris Bruynooghe) Date: Fri, 27 May 2016 14:55:00 +0100 Subject: [pytest-dev] Joining the sprint In-Reply-To: <573DCCEA.4030908@web.de> References: <57395F1F.8020108@googlemail.com> <573D5C19.2080703@web.de> <0B6919C4-D060-4DBC-BD78-CA819E7182A4@merlinux.eu> <573DCCEA.4030908@web.de> Message-ID: Hi Stefan, I noticed you've not yet added yourself to the wiki: https://github.com/pytest-dev/pytest/wiki/sprint2016 Could you add yourself please? Looking forward to meeting you in Freiburg, Floris On 19 May 2016 at 15:25, Farmer wrote: > Hello Holger and Floris, > > thank you once more for your help already now in advance. As I told you, > you really do not have to bother about accommodation for me. I am fine > in my camper and I will find a spot to park because I know Freiburg very > well...lived there some years ago. > > Regarding my wishes on what to work on the sprint it's a bit of a > challenge to find something in the issue tracker...too many > possibilities and no ideas what is really important. > I'm really ready to dive into any part. > I guess it makes more sense if you tell me where you need help. > > So if you would give me an idea about a possible issue to work on, I > would like to try to get into it before we start the sprint. > > And then I need only the time and place where we'll meet. > Really looking forward to meet you all and work together! > > Stefan > > > > Am 19.05.2016 um 11:07 schrieb Holger Krekel: >> I can see to ask the venue in june if you can stand on their parking lot which is nice and close to the green. Currently in Berlin and on travels till then. As to other people looking for accommodation I'd appreciate if you figure something out yourself or we'll figure something out in June. Still intending to look then into renting a flat for a week or two with multiple beds... They often are offered just in time at http://studenten-wg.de. Cheers holger >> > _______________________________________________ > pytest-dev mailing list > pytest-dev at python.org > https://mail.python.org/mailman/listinfo/pytest-dev From holger at merlinux.eu Sat May 28 01:53:28 2016 From: holger at merlinux.eu (holger krekel) Date: Sat, 28 May 2016 07:53:28 +0200 Subject: [pytest-dev] Preserving capture fd from fixture setup? In-Reply-To: <874m9tj0z0.fsf@thinkpad.rath.org> References: <874m9tj0z0.fsf@thinkpad.rath.org> Message-ID: <20160528055328.GB3580@uwanda> Hi Nikolaus, On Thu, May 19, 2016 at 12:34 -0700, Nikolaus Rath wrote: > Hello, > > I am testing a server. I am starting the server in a subprocess from a > fixture, and then issue requests to it from various tests. Unfortunately > this seems to have one big drawback: when a test fails, the capture > plugin does not display any output from the server process. > > After looking at the code, I think this is because the capture plugin > creates a new file descriptor for each test phase (setup, call, > teardown). it reuses the same file descriptor for capturing IIRC. After each phase (setup, call, teardown) the FD is reset to position 0. Is your problem that the server is started during fixture setup and you'd like to see its standard out/err during the test call phase? > Would it be possible to instead re-use the same fd, and distinguish > between phases by recording the position after each phase? I think it's possible to not reset the FD when the test call phase starts. best, holger > If this sounds feasible and desireable, then I'll work on a pull > request. > > > Best, > -Nikolaus > > -- > GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F > Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F > > ?Time flies like an arrow, fruit flies like a Banana.? > _______________________________________________ > pytest-dev mailing list > pytest-dev at python.org > https://mail.python.org/mailman/listinfo/pytest-dev From farmi at web.de Sat May 28 03:18:59 2016 From: farmi at web.de (Stefan Farmbauer) Date: Sat, 28 May 2016 07:18:59 +0000 Subject: [pytest-dev] Joining the sprint In-Reply-To: References: <57395F1F.8020108@googlemail.com> <573D5C19.2080703@web.de> <0B6919C4-D060-4DBC-BD78-CA819E7182A4@merlinux.eu> <573DCCEA.4030908@web.de> Message-ID: Hi Floris, I added me to the list. Thanks for remembering me. Also looking forward to see you Stefan Floris Bruynooghe schrieb am Fr., 27. Mai 2016 15:55: > Hi Stefan, > > I noticed you've not yet added yourself to the wiki: > https://github.com/pytest-dev/pytest/wiki/sprint2016 Could you add > yourself please? > > Looking forward to meeting you in Freiburg, > Floris > > > On 19 May 2016 at 15:25, Farmer wrote: > > Hello Holger and Floris, > > > > thank you once more for your help already now in advance. As I told you, > > you really do not have to bother about accommodation for me. I am fine > > in my camper and I will find a spot to park because I know Freiburg very > > well...lived there some years ago. > > > > Regarding my wishes on what to work on the sprint it's a bit of a > > challenge to find something in the issue tracker...too many > > possibilities and no ideas what is really important. > > I'm really ready to dive into any part. > > I guess it makes more sense if you tell me where you need help. > > > > So if you would give me an idea about a possible issue to work on, I > > would like to try to get into it before we start the sprint. > > > > And then I need only the time and place where we'll meet. > > Really looking forward to meet you all and work together! > > > > Stefan > > > > > > > > Am 19.05.2016 um 11:07 schrieb Holger Krekel: > >> I can see to ask the venue in june if you can stand on their parking > lot which is nice and close to the green. Currently in Berlin and on > travels till then. As to other people looking for accommodation I'd > appreciate if you figure something out yourself or we'll figure something > out in June. Still intending to look then into renting a flat for a week > or two with multiple beds... They often are offered just in time at > http://studenten-wg.de. Cheers holger > >> > > _______________________________________________ > > pytest-dev mailing list > > pytest-dev at python.org > > https://mail.python.org/mailman/listinfo/pytest-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastian at adblockplus.org Tue May 31 04:28:31 2016 From: sebastian at adblockplus.org (Sebastian Noack) Date: Tue, 31 May 2016 10:28:31 +0200 Subject: [pytest-dev] Joining the sprint Message-ID: Hi, I'm the module owner of our Python based modules (i.e. sitescripts and buildtools) at Adblock Plus. We recently started to use pytest and tox, while I have been using pytest and tox for personal projects, like the infamous python-goto, for quite a while now. And of course in jinja2, where I'm a committer as well. I and my colleague Jon would like to join the sprint on June 24th + 25th, if we are welcome? Unfortunately, we can not make it from the beginning. We wouldn't need any support for travel and accommodation. Sebastian -------------- next part -------------- An HTML attachment was scrubbed... URL: From nicoddemus at gmail.com Tue May 31 07:35:16 2016 From: nicoddemus at gmail.com (Bruno Oliveira) Date: Tue, 31 May 2016 11:35:16 +0000 Subject: [pytest-dev] Joining the sprint In-Reply-To: References: Message-ID: Hi Sebastian, Great to hear you guys would like to join us. You are certainly welcome, you should only confirm with Holger if the venue supports two more people before committing; since the place for the sprint has been arranged, more people than initially planned has joined so we might be getting out of space. Other than that it would be great to have you guys with us. Do you guys already have some topics in mind that would you like to work on the sprint? You can get and idea of the topics we plan to work on the indiegogo page: https://www.indiegogo.com/projects/python-testing-sprint-mid-2016 Cheers, On Tue, May 31, 2016 at 5:28 AM Sebastian Noack wrote: > Hi, > > I'm the module owner of our Python based modules (i.e. sitescripts and > buildtools) at Adblock Plus. We recently started to use pytest and tox, > while I have been using pytest and tox for personal projects, like the > infamous python-goto, for quite a while now. And of course in jinja2, where > I'm a committer as well. > > I and my colleague Jon would like to join the sprint on June 24th + 25th, > if we are welcome? Unfortunately, we can not make it from the beginning. We > wouldn't need any support for travel and accommodation. > > Sebastian > _______________________________________________ > pytest-dev mailing list > pytest-dev at python.org > https://mail.python.org/mailman/listinfo/pytest-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas at thomas-lotze.de Tue May 31 07:48:10 2016 From: thomas at thomas-lotze.de (Thomas Lotze) Date: Tue, 31 May 2016 13:48:10 +0200 Subject: [pytest-dev] Joining the sprint for some days Message-ID: <20160531134810.26b6e049@krusty.ws.whq.gocept.com> Hi, this is my first message to this list, so I'd like to introduce myself shortly: I've been a Python programmer for 12 years during which I used to work at gocept (Halle, Germany), and I've been using pytest for the last couple of years increasingly. I recently learned of the upcoming sprint and would like to drop by. Since I must be at home in the middle of the sprint week, I'll only be able to join for three days, so I'm thinking of joining at the beginning. OTOH, I just learned from a message on this list that the sprint's capacity might already be reached. So first of all, I'd like to know whether it would be OK for me to join for a few days or whether I'm simply a bit late to the party. I've already added myself to the participants' list in the wiki but will of course remove the entry again if the sprint was already booked out. Thank you very much. Kind regards, Thomas -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: not available URL: From holger at merlinux.eu Tue May 31 09:55:35 2016 From: holger at merlinux.eu (holger krekel) Date: Tue, 31 May 2016 15:55:35 +0200 Subject: [pytest-dev] Joining the sprint In-Reply-To: References: Message-ID: <20160531135535.GC5620@uwanda> On Tue, May 31, 2016 at 11:35 +0000, Bruno Oliveira wrote: > Hi Sebastian, > > Great to hear you guys would like to join us. You are certainly welcome, > you should only confirm with Holger if the venue supports two more > people before > committing; since the place for the sprint has been arranged, more people > than initially planned has joined so we might be getting out of space. > Other than that it would be great to have you guys with us. yes, it's fine as long as it's not too many people dropping by for just two days. I am pretty sure we'll be able to have enough sprint space (68 qm room and i'll be asking soon if there is an extra room some of the days). Sebastian, Please add yourself to the wiki with the dates you are bound to come. best, holger > > Do you guys already have some topics in mind that would you like to work on > the sprint? You can get and idea of the topics we plan to work on the > indiegogo page: > https://www.indiegogo.com/projects/python-testing-sprint-mid-2016 > > Cheers, > > On Tue, May 31, 2016 at 5:28 AM Sebastian Noack > wrote: > > > Hi, > > > > I'm the module owner of our Python based modules (i.e. sitescripts and > > buildtools) at Adblock Plus. We recently started to use pytest and tox, > > while I have been using pytest and tox for personal projects, like the > > infamous python-goto, for quite a while now. And of course in jinja2, where > > I'm a committer as well. > > > > I and my colleague Jon would like to join the sprint on June 24th + 25th, > > if we are welcome? Unfortunately, we can not make it from the beginning. We > > wouldn't need any support for travel and accommodation. > > > > Sebastian > > _______________________________________________ > > pytest-dev mailing list > > pytest-dev at python.org > > https://mail.python.org/mailman/listinfo/pytest-dev > > > _______________________________________________ > pytest-dev mailing list > pytest-dev at python.org > https://mail.python.org/mailman/listinfo/pytest-dev From holger at merlinux.eu Tue May 31 09:59:30 2016 From: holger at merlinux.eu (holger krekel) Date: Tue, 31 May 2016 15:59:30 +0200 Subject: [pytest-dev] Joining the sprint for some days In-Reply-To: <20160531134810.26b6e049@krusty.ws.whq.gocept.com> References: <20160531134810.26b6e049@krusty.ws.whq.gocept.com> Message-ID: <20160531135930.GD5620@uwanda> Hi Thomas, On Tue, May 31, 2016 at 13:48 +0200, Thomas Lotze wrote: > Hi, > > this is my first message to this list, so I'd like to introduce myself > shortly: I've been a Python programmer for 12 years during which I used to > work at gocept (Halle, Germany), and I've been using pytest for the last > couple of years increasingly. > > I recently learned of the upcoming sprint and would like to drop by. Since > I must be at home in the middle of the sprint week, I'll only be able to > join for three days, so I'm thinking of joining at the beginning. > > OTOH, I just learned from a message on this list that the sprint's capacity > might already be reached. So first of all, I'd like to know whether it > would be OK for me to join for a few days or whether I'm simply a bit late > to the party. I've already added myself to the participants' list in the > wiki but will of course remove the entry again if the sprint was already > booked out. I think it's better if you arrived thursday (23rd) and attend 24/25th. For Saturday/Sunday (18/19th) we do not have the sprint room yet but will rather meet at my flat and/or walk around freiburg a bit etc, do some sessions. Also i will have my 5yo around on the weekend from time to time. >From monday on we turn to more fuller sprint mode ... holger > Thank you very much. Kind regards, > Thomas > _______________________________________________ > pytest-dev mailing list > pytest-dev at python.org > https://mail.python.org/mailman/listinfo/pytest-dev From thomas at thomas-lotze.de Tue May 31 10:31:37 2016 From: thomas at thomas-lotze.de (Thomas Lotze) Date: Tue, 31 May 2016 16:31:37 +0200 Subject: [pytest-dev] Joining the sprint for some days In-Reply-To: <20160531135930.GD5620@uwanda> References: <20160531134810.26b6e049@krusty.ws.whq.gocept.com> <20160531135930.GD5620@uwanda> Message-ID: <20160531163137.64d2f8d3@krusty.ws.whq.gocept.com> Hi Holger, holger krekel schrieb: > I think it's better if you arrived thursday (23rd) and attend 24/25th. I'll see whether this fits in with other plans. > For Saturday/Sunday (18/19th) we do not have the sprint room yet but will > rather meet at my flat and/or walk around freiburg a bit etc, do some This sounds nice as well but given that I'll only be able to be there for three days, I'd of course like to chose those most useful for getting something interesting done, so end of the week sounds better indeed. Thomas -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: not available URL: From Nikolaus at rath.org Tue May 31 13:17:21 2016 From: Nikolaus at rath.org (Nikolaus Rath) Date: Tue, 31 May 2016 10:17:21 -0700 Subject: [pytest-dev] Preserving capture fd from fixture setup? In-Reply-To: <20160528055328.GB3580@uwanda> (holger krekel's message of "Sat, 28 May 2016 07:53:28 +0200") References: <874m9tj0z0.fsf@thinkpad.rath.org> <20160528055328.GB3580@uwanda> Message-ID: <87h9de87vi.fsf@thinkpad.rath.org> On May 28 2016, holger krekel wrote: > Hi Nikolaus, > > On Thu, May 19, 2016 at 12:34 -0700, Nikolaus Rath wrote: >> Hello, >> >> I am testing a server. I am starting the server in a subprocess from a >> fixture, and then issue requests to it from various tests. Unfortunately >> this seems to have one big drawback: when a test fails, the capture >> plugin does not display any output from the server process. >> >> After looking at the code, I think this is because the capture plugin >> creates a new file descriptor for each test phase (setup, call, >> teardown). > > it reuses the same file descriptor for capturing IIRC. After each > phase (setup, call, teardown) the FD is reset to position 0. Hmm. Yeah, on closer inspection my test case was flawed - adding a .flush() at the end of the setup code made the output appear in the right spot. But my original problem remains. > Is your problem that the server is started during fixture setup > and you'd like to see its standard out/err during the test call phase? Exactly. Best, -Nikolaus -- GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F ?Time flies like an arrow, fruit flies like a Banana.?