Re: [pytest-dev] pytest-failed: dump/restore failed tests

2024-07-16 Thread Florian Schulze
On 16 Jul 2024, at 1:36, Oscar Benjamin wrote: > I like this idea. I would want it to have behaviour that > --lf=failed.txt checks if the file exists and if not populates it with > the contents from the pytest ---lf cache. Then you could do: > > $ pytest > < runts tests, some fail > > $ pytest --l

Re: [pytest-dev] pytest-failed: dump/restore failed tests

2024-07-15 Thread Florian Schulze
>> How would one access ``.pytest_cache/lastfailed`` from GitHub Actions for >> example? Just copy'n'paste from the log output seems more intuitive for most >> people, so the parsing should be kept. >> >> I'm not sure how user-friendly it is to explain how to copy >> ``.pytest_cache/lastfailed``

Re: [pytest-dev] pytest-failed: dump/restore failed tests

2024-07-15 Thread Florian Schulze
``.pytest_cache/lastfailed``, so I think ``--dump-lf`` would still be useful. > I know this is not exactly the feedback you wanted, but thought I would throw > the idea in there for your consideration. Totally valid feedback. Thanks! Regards, Florian > > Cheers, > Bruno >

[pytest-dev] pytest-failed: dump/restore failed tests

2024-07-14 Thread Florian Schulze
ytest report summary syntax, are there any other formats that would be useful to support for cut'n'paste from CI? If you try the plugin, please give feedback on whether you found it useful and understand how it works. Regards, Florian Schulze ___

Re: [pytest-dev] autospec for monkeypatch

2021-03-22 Thread Florian Schulze
the same. Regards, Florian Schulze On 21 Mar 2021, at 23:46, Brian Okken wrote: Yep. I think that’s it. I totally forgot about raising. I’ll try it out. - Brian On Mar 21, 2021, at 1:06 PM, Bruno Oliveira wrote:  there is no option to only accept existing keys. I'm not sure what

Re: [pytest-dev] pytest 6.0.0rc1 released

2020-07-10 Thread Florian Schulze
first. Is that a bug? Also is it possible to get a native stack trace for that? --tb=native has no effect on --full-trace. Regards, Florian Schulze ___ pytest-dev mailing list pytest-dev@python.org https://mail.python.org/mailman/listinfo/pytest-dev

Re: [pytest-dev] Keeping failing test ids for git bisect

2019-05-03 Thread Florian Schulze
plugin and can eventually be moved to core. The issues showed me several use cases I didn't think about and I think it's not trivial to find a good cli ui for all of them. Regards, Florian Schulze ___ pytest-dev mailing list pytest-dev@python.or

Re: [pytest-dev] Keeping failing test ids for git bisect

2019-05-02 Thread Florian Schulze
On 2 May 2019, at 11:28, Florian Bruhin wrote: Hey, On Thu, May 02, 2019 at 11:22:08AM +0200, Florian Schulze wrote: Is there a way to run a bunch of tests like with --lf but don't clear the cache when they pass? This would be mighty helpful for git bisect. For now I helped myself by co

[pytest-dev] Keeping failing test ids for git bisect

2019-05-02 Thread Florian Schulze
o the command line. Regards, Florian Schulze ___ pytest-dev mailing list pytest-dev@python.org https://mail.python.org/mailman/listinfo/pytest-dev

Re: [pytest-dev] pytest 3.7.0 released!

2018-07-30 Thread Florian Schulze
On 31 Jul 2018, at 1:42, Bruno Oliveira wrote: The pytest team is proud to announce the 3.7.0 release! The new deprecation for directly called fixture functions promptly revealed cases where I accidentally did that. Thanks! Regards, Florian Schulze

Re: [pytest-dev] mark fix-up major milestone, please review

2018-03-20 Thread Florian Schulze
change in transfer behaviour makes it 4.0, because it *will* affect people. It changed things in devpi-server which necessitates (small) changes. For others it might have way more far reaching effects. Regards, Florian Schulze 2018-03-20 16:03 GMT+01:00 Florian Schulze : On 20 Mar 2018, at 15

Re: [pytest-dev] mark fix-up major milestone, please review

2018-03-20 Thread Florian Schulze
ss is also marked as slow. The PR fixes that. Regards, Florian Schulze ___ pytest-dev mailing list pytest-dev@python.org https://mail.python.org/mailman/listinfo/pytest-dev

Re: [pytest-dev] Moving pytest-{pep8, flakes} to pytest-dev on GitHub

2018-03-14 Thread Florian Schulze
s way off topic. Regards, Florian Schulze Am 14.03.2018 um 10:07 schrieb Florian Schulze: On 14 Mar 2018, at 10:00, RonnyPfannschmidt wrote: Sounds reasonable, Ok i would like to note that by now i believe integrating linting into normal testing is a step back since the reporting needs ar

Re: [pytest-dev] Moving pytest-{pep8, flakes} to pytest-dev on GitHub

2018-03-14 Thread Florian Schulze
haven't seen anything that works server side (or as a bot) on a per commit base (Open Source and not only as a GitHub Service). Regards, Florian Schulze Am 14.03.2018 um 09:35 schrieb Florian Schulze: Hi! I'd like to propose moving pytest-pep8 from pytest-dev on Bitbucket to Git

[pytest-dev] Moving pytest-{pep8,flakes} to pytest-dev on GitHub

2018-03-14 Thread Florian Schulze
Hi! I'd like to propose moving pytest-pep8 from pytest-dev on Bitbucket to GitHub and my pytest-flakes from my GitHub repository to pytest-dev. Since I use both myself all the time, I would continue maintaining them. Thoughts? Process? Regards, Florian Sc

Re: [pytest-dev] preparing a breaking internal change - splitting Session into the node and the plugin

2018-03-09 Thread Florian Schulze
eps every once in a while. The goal will be the same, but with less disruption. Regards, Florian Schulze ___ pytest-dev mailing list pytest-dev@python.org https://mail.python.org/mailman/listinfo/pytest-dev

Re: [pytest-dev] Alias to parametrize

2018-02-02 Thread Florian Schulze
users Hidden things are not seen (duh). Before deprecation warnings were shown, no one cared. I think it's better if it's easy for people to hide warnings in their own code bases. Regards, Florian Schulze ___ pytest-dev mailing list pytest-dev@p

Re: [pytest-dev] Blog down?

2017-11-30 Thread Florian Schulze
know whether this trailing dot missing there too? I don't think that is related. It might be used for URL generation. I noticed that the blog url in publishconf.py is http://pytest.org/blog, not sure if that is used for URL generation somewhere. Regards, Florian Sc

Re: [pytest-dev] Blog down?

2017-11-30 Thread Florian Schulze
On 29 Nov 2017, at 23:44, Maik Figura wrote: > @Florian should contents/CNAME also contain a trailing dot? Not sure what you mean. Regards, Florian Schulze ___ pytest-dev mailing list pytest-dev@python.org https://mail.python.org/mailman/listi

Re: [pytest-dev] Blog down?

2017-11-29 Thread Florian Schulze
The missing trailing dot in the CNAME was the issue, should work again. TTL is one hour, so some DNS caches might still need to catch up. Regards, Florian Schulze On 29 Nov 2017, at 17:27, Florian Schulze wrote: We moved the domain to another provider, I thought I copied everything over

Re: [pytest-dev] Blog down?

2017-11-29 Thread Florian Schulze
We moved the domain to another provider, I thought I copied everything over. I'll check, maybe I missed a trailing dot or something. Regards, Florian Schulze On 29 Nov 2017, at 15:05, Maik Figura wrote: Hello Bruno, I am experiencing the same. To me it seems that the DNS delegati

Re: [pytest-dev] Help testing 3.2.0 release (part 2)

2017-07-31 Thread Florian Schulze
I had to do: pip install --no-cache-dir -U https://devpi.net/nicoddemus/dev/+f/e50/b5a054e0007ca/pytest-3.2.0-py2.py3-none-any.whl This works with devpi tests as well. Regards, Florian Schulze ___ pytest-dev mailing list pytest-dev@python.org

Re: [pytest-dev] Help testing 3.2.0 release

2017-07-14 Thread Florian Schulze
tried 3.1.x. Regards, Florian Schulze ___ pytest-dev mailing list pytest-dev@python.org https://mail.python.org/mailman/listinfo/pytest-dev

Re: [pytest-dev] Help testing 3.2.0 release

2017-07-14 Thread Florian Schulze
easy to find docs on how to actually fix it, even if the old stuff was undocumented. An example diff is often enough. Regards, Florian Schulze On 14 Jul 2017, at 0:45, Bruno Oliveira wrote: Hi everyone, I have prepared a package for the 3.2.0 release and it would be great if people could

Re: [pytest-dev] deprecating/removing py.path.local.write due to https://github.com/pytest-dev/py/issues/107

2017-06-24 Thread Florian Schulze
Could this issue be related, or even be the same? https://github.com/tox-dev/tox/issues/426 Regards, Florian Schulze On 24 Jun 2017, at 15:39, RonnyPfannschmidt wrote: > Hi everyone, > > after investigating the issue i pretty much had to deduce that a > horrible mistake happened

Re: [pytest-dev] pytest.org redirect request (#2453)

2017-06-01 Thread Florian Schulze
Fixed Regards, Florian Schulze On 31 May 2017, at 17:51, Bruno Oliveira wrote: > Hi everyone, > > An issue has been raised in the bug tracker asking to redirect > docs.pytest.org/latest/* to docs.pytest.org/en/latest/*: > > https://github.com/pytest-dev/pytest/issues/24

Re: [pytest-dev] [3.1 feature] "assert not raise exception" helper: opinions about the name

2017-03-30 Thread Florian Schulze
ngs. Here, "pytest.raises" deals with the dependent code block's exception raising behaviour -- allowing None (to signal: no exception expected) does not change or much extend this functionality. I think it also reads well. Which exceptions are expected to be raised? None.

Re: [pytest-dev] [proposal] big flake8 cleanup before the 3.1 release

2017-03-17 Thread Florian Schulze
Hi! Personally I disable the line length limit and keep all other warnings. For old projects I only fix pep8 issues in code I edit in a commit. A massive cleanup disrupts history and especially "blame" too much IMHO. Regards, Florian Schulze On 17 Mar 2017, at 10:09, Ronny Pf

Re: [pytest-dev] [proposal] introducing attrs to the codebase

2016-12-06 Thread Florian Schulze
Hi! The v16 is because it uses time based version numbering. Regards, Florian Schulze On 6 Dec 2016, at 12:52, Floris Bruynooghe wrote: Hi, Personally I also don't mind the dependency. Though I know in the past we've had a policy of keeping dependencies to a minimum as well a

[pytest-dev] pytest-leaks

2016-11-24 Thread Florian Schulze
for leaks. Regards, Florian Schulze ___ pytest-dev mailing list pytest-dev@python.org https://mail.python.org/mailman/listinfo/pytest-dev

[pytest-dev] pytest-warnings RFC

2016-10-19 Thread Florian Schulze
rging. Regards, Florian Schulze ___ pytest-dev mailing list pytest-dev@python.org https://mail.python.org/mailman/listinfo/pytest-dev

Re: [pytest-dev] pytest-warnings in 3.1

2016-09-22 Thread Florian Schulze
I don't think it's urgent at all. The plugin works and pytest deprecations are visible since 3.0, the rest is just nice to have. Regards, Florian Schulze On 22 Sep 2016, at 12:30, Ronny Pfannschmidt wrote: Hi Florian, thanks for the update. im currently not too familiar with the

Re: [pytest-dev] pytest-warnings in 3.1

2016-09-22 Thread Florian Schulze
ons differently from in test warnings (the thing pytest-warnings does atm but doesn't separate). Regards, Florian Schulze On 22 Sep 2016, at 10:00, Ronny Pfannschmidt wrote: im not aware of anyone signing up for that as far as i remember there also was no further development on the plugin

Re: [pytest-dev] 3.0.1 tonight?

2016-08-23 Thread Florian Schulze
I'd say it depends on how much work a release is. If it's ok for you, then do a release. If it takes too much time in comparison to the severity of the issues, then old back a bit longer. Regards, Florian Schulze On 23 Aug 2016, at 18:12, Bruno Oliveira wrote: Hi everyone, Since

Re: [pytest-dev] pytest 3.0.0 pre-release

2016-08-18 Thread Florian Schulze
Besides one issue in devpi-server where we use monkeypatch in a non regular way (which Holger already warned me about) pytest 3.0.0 works fine with devpi tests! None of my other stuff is anywhere near the complexity of devpi. So from my side pytest 3.0.0 looks good. Regards, Florian Schulze

Re: [pytest-dev] pytest 3.0.0 pre-release

2016-08-18 Thread Florian Schulze
For some reason I had to use this to get it installed: pip install -U -i https://devpi.net/nicoddemus/dev pytest==3.0.0 Regards, Florian Schulze On 18 Aug 2016, at 20:11, Bruno Oliveira wrote: > Hello everyone, > > The pytest team has generated a 3.0.0 release candidate and woul

Re: [pytest-dev] Release candidate soon(tm)?

2016-08-16 Thread Florian Schulze
Is it possible to preview the blog post somewhere? > On 17.08.2016, at 02:52, Bruno Oliveira wrote: > > Hi everyone! > > There are now 4 open PRs which handle the last remaining issues for 3.0: > > * WIP Change outcome to 'passed' for xfail unless it's strict: > https://github.com/pytest-dev/

Re: [pytest-dev] Remove invocation fixtures from 3.0?

2016-08-15 Thread Florian Schulze
Hi! Since this is not a breaking change, but a feature, it can easily be added in 3.1, right? If so, I'd say postpone it. Regards, Florian Schulze On 15 Aug 2016, at 3:15, Bruno Oliveira wrote: Hi everyone, I've worked on the weekend on the issue discovered by Florian on the q

Re: [pytest-dev] pytest and Mozilla's Open Source Support program

2016-08-08 Thread Florian Schulze
Hi! I know Holger is on vacation for a while. I doubt he got time to handle this in August. I would be available for development work. I got no experience with organizational and legal stuff in regard to US based foundations when living in Germany. Regards, Florian Schulze On 8 Aug 2016

Re: [pytest-dev] Announcing pytest-pdb

2016-07-11 Thread Florian Schulze
On 11 Jul 2016, at 23:16, Daniel Hahler wrote: On 09.07.2016 13:02, Florian Schulze wrote: I just released https://pypi.python.org/pypi/pytest-pdb It adds a ``whichtest`` command to pdb. It prints identifying information about the current test you are in. Much easier than looking through

[pytest-dev] Announcing pytest-pdb

2016-07-09 Thread Florian Schulze
Hi! I just released https://pypi.python.org/pypi/pytest-pdb It adds a ``whichtest`` command to pdb. It prints identifying information about the current test you are in. Much easier than looking through the stack trace of ``which`` and it prints info on parameters. Regards, Florian Schulze

Re: [pytest-dev] EuroPython Talk on pytest 3.0

2016-07-09 Thread Florian Schulze
During one of the discussions I agreed to work on a small bit. Problem is, I didn't make a note and can't remember and I'm not on the list in the wiki (https://github.com/pytest-dev/pytest/wiki/pytest-3.0-checklist). Does anyone remember? Regards, Florian Schulze On 8 Jul

[pytest-dev] Info on move from bitbucket to github

2016-07-07 Thread Florian Schulze
drawbacks for example. Regards, Florian Schulze ___ pytest-dev mailing list pytest-dev@python.org https://mail.python.org/mailman/listinfo/pytest-dev

Re: [pytest-dev] My gripes with pytest and tox

2016-06-10 Thread Florian Schulze
> thing. Maybe there isn't. Haven't given it much thought yet. I would like if @pytest.mark.parametrize works with fixtures. Regards, Florian Schulze ___ pytest-dev mailing list pytest-dev@python.org https://mail.python.org/mailman/listinfo/pytest-dev

Re: [pytest-dev] Timing tests and fixtures

2016-04-28 Thread Florian Schulze
Ahh, I knew I read about such an option at some point. Thanks for the reminder. Looks like pytest doesn't have the necessary hooks to measure fixture calls. Regards, Florian Schulze On 28 Apr 2016, at 14:00, Bruno Oliveira wrote: On Thu, Apr 28, 2016 at 7:57 AM Florian Schulze

[pytest-dev] Timing tests and fixtures

2016-04-28 Thread Florian Schulze
Hi! Is there a plugin to measure the execution time of tests and fixtures and the usage count of fixtures? There seems to be a profile plugin, but that is way to detailed for my need. I want to find slow tests and fixtures to see if I can optimize them. Regards, Florian Schulze

Re: [pytest-dev] removing assertion reinterpretation and making the assertion rewriter a vendored package

2016-04-13 Thread Florian Schulze
rd to figure out. Not sure I actually used the correct one in the end, but it worked for me at least. Regards, Florian Schulze ___ pytest-dev mailing list pytest-dev@python.org https://mail.python.org/mailman/listinfo/pytest-dev

Re: [pytest-dev] planet pytest

2016-04-12 Thread Florian Schulze
anguage itself seems to be too restrictive to manipulate the content further. Regards, Florian Schulze ___ pytest-dev mailing list pytest-dev@python.org https://mail.python.org/mailman/listinfo/pytest-dev

Re: [pytest-dev] planet pytest

2016-04-11 Thread Florian Schulze
On 12 Apr 2016, at 6:19, Brianna Laugher wrote: > Nice! Could someone add a link to the github repo/instructions about how to > add a new feed, and maybe also an explicit link to the planet rss feed? On my todo list already :) Regards, Florian S

Re: [pytest-dev] planet pytest

2016-04-11 Thread Florian Schulze
//blog.dbrgn.ch/tags/pytest/ PR for that merged. I switched from genshi to the default planet template thingy and that seems to got rid of the rendering issues. Regards, Florian Schulze ___ pytest-dev mailing list pytest-dev@python.org https://

Re: [pytest-dev] planet pytest

2016-04-11 Thread Florian Schulze
side. I doubt it would be very useful, because outside http resources are embedded and probably blocked by browsers. Regards, Florian Schulze ___ pytest-dev mailing list pytest-dev@python.org https://mail.python.org/mailman/listinfo/pytest-dev

Re: [pytest-dev] planet pytest

2016-04-10 Thread Florian Schulze
se. When this setup is finished, I'd like to transfer the repository to the pytest-dev organization. I'll add proper documentation before that. Regards, Florian Schulze ___ pytest-dev mailing list pytest-dev@python.org https://mail.python.

Re: [pytest-dev] planet pytest

2016-04-08 Thread Florian Schulze
I talked to Holger and will setup a Planet VM over the weekend. If it goes as planned, there will be a repository where people can make a PR to add their feed and the rest is automatic. If it's not fully automatic, it will at least be very easy to update :) Regards, Florian Schulze On

Re: [pytest-dev] pytest 2.9.0-rc.1

2016-02-23 Thread Florian Schulze
On 23 Feb 2016, at 13:58, Florian Schulze wrote: On 23 Feb 2016, at 11:54, Bruno Oliveira wrote: Hey Florian, Thanks for taking the time to try it out. On Tue, Feb 23, 2016 at 4:57 AM Florian Bruhin wrote: Other than pytest-hypothesis breaking because it doesn't expect the dash i

Re: [pytest-dev] pytest 2.9.0-rc.1

2016-02-23 Thread Florian Schulze
on number, > > > That's strange, as having that dash is correct for pre-releases according > to the semver spec[1]. Relevant is PEP404. The version should be 2.9.0.rc1 if I'm not mistaken. Regards, Florian Schulze ___ pytest-dev m

Re: [pytest-dev] GitHub Issues and Pull Requests templates

2016-02-18 Thread Florian Schulze
iding the info, but not directly in the files. Regards, Florian Schulze ___ pytest-dev mailing list pytest-dev@python.org https://mail.python.org/mailman/listinfo/pytest-dev

Re: [pytest-dev] [Proposal] adapting the Collective Code Construction Contract (which includes a switch to a weak share-alike license and limits branching models)

2016-02-15 Thread Florian Schulze
just fix any problems myself, or whether I ask for a followup. Regards, Florian Schulze ___ pytest-dev mailing list pytest-dev@python.org https://mail.python.org/mailman/listinfo/pytest-dev

Re: [pytest-dev] [Proposal] adapting the Collective Code Construction Contract (which includes a switch to a weak share-alike license and limits branching models)

2016-02-15 Thread Florian Schulze
ch at all. Regards, Florian Schulze ___ pytest-dev mailing list pytest-dev@python.org https://mail.python.org/mailman/listinfo/pytest-dev

Re: [pytest-dev] Fixtures and test cases parametrization -- the clever way

2016-02-07 Thread Florian Schulze
won't lead to errors, so it's pretty much a waste of your time and CPU time. Regards, Florian Schulze On 7 Feb 2016, at 4:53, Goncalo Morgado wrote: Hi, Thank you for this great lib! I have an app that takes a config file with key/value pairs, that I would like to test thoroughl

Re: [pytest-dev] pytest sprint indiegogo page (draft)

2016-02-03 Thread Florian Schulze
Looks good overall. I think the perks are just fine. I think there is a typo: Brianna Laughner should be Brianna Laugher if I'm not mistaken. Regards, Florian Schulze On 3 Feb 2016, at 11:00, holger krekel wrote: Hey all, i've done a indiegogo sprint page which is still in

Re: [pytest-dev] TLS certificate expired

2016-01-23 Thread Florian Schulze
I'd say letsencrypt. I wrote a tool to make it easy to create a certificate locally without giving their tool root access: https://pypi.python.org/pypi/letsencrypt-remote Regards, Florian Schulze On 22 Jan 2016, at 23:30, Holger Krekel wrote: Hi, Not sure I get to this before I tak

Re: [pytest-dev] thanking for PRs?

2015-12-12 Thread Florian Schulze
I just list the usernames after the change and if the user contributed for the first time, the fullname as well. See this for example: https://github.com/fschulze/mr.developer/blob/master/CHANGES.rst Regards, Florian Schulze On 11 Dec 2015, at 16:14, holger krekel wrote: On Fri, Dec 11

Re: [pytest-dev] Moving catchlog to pytest-dev (was: Re: pytest-capturelog status/merging to core?)

2015-11-09 Thread Florian Schulze
stly a dropin replacement. It doesn't support Python 2.6 though, so we either have to drop support for that as well, or restore compatibility. For now it looks like one place is affected in catchlog. Unfortunately catchlog doesn't fix the pypy test failures in devpi-server, but at least there

Re: [pytest-dev] devpi.net

2015-07-13 Thread Florian Schulze
that Holger is away for at least another 2 hours. I don't know whether he will be able to take a look then. Regards, Florian Schulze ___ pytest-dev mailing list pytest-dev@python.org https://mail.python.org/mailman/listinfo/pytest-dev

Re: [pytest-dev] moving to git / issues?

2015-06-25 Thread Florian Schulze
tem or if you have a lot of constant changes in the same files in each commit (I backup database dumps with git to keep some history). Regards, Florian Schulze ___ pytest-dev mailing list pytest-dev@python.org https://mail.python.org/mailman/listinfo/pytest-dev

Re: [pytest-dev] tox-2.0.0: plugin support, platforms, env isolation

2015-05-21 Thread Florian Schulze
Sounds reasonable, thanks for the list! Maybe we should put that somewhere findable? The tox docs, or at least link from there? Regards, Florian Schulze On 21 May 2015, at 10:52, Florian Bruhin wrote: * Florian Schulze [2015-05-21 10:16:03 +0200]: On 21 May 2015, at 9:17, raph

Re: [pytest-dev] tox-2.0.0: plugin support, platforms, env isolation

2015-05-21 Thread Florian Schulze
installation because of unicode in the long_description. With passenv = LC_ALL, LANG it works. Question is, should these envvars be added by default or does everyone have to update their tox.ini? Regards, Florian Schulze ___ pytest-dev mailing l

Re: [pytest-dev] adopt pytest month is over!

2015-05-07 Thread Florian Schulze
ed quite a few other python packages of mine to pytest though. Regards, Florian Schulze On 7 May 2015, at 17:49, Aryé H wrote: Hi, Our question is on the right approach to testing such a framework ? 1) start with low level unit tests and strive to mock out the DB 2) continue with higher leve

Re: [pytest-dev] pytest-2.7.0 release package / please test

2015-03-26 Thread Florian Schulze
I tested a bit and had no issues so far. Regards, Florian Schulze On 26 Mar 2015, at 9:38, holger krekel wrote: Hi everybody, You can install either form trunk or with: pip install https://devpi.net/hpk/dev/+f/14c/de91b1106c937/pytest-2.7.0.tar.gz Please install it and work with it

Re: [pytest-dev] Crowdfunding a pytest plugin

2014-12-12 Thread Florian Schulze
aclasses, mocks etc? Python is very dynamic as you most likely know :) Regards, Florian Schulze ___ pytest-dev mailing list pytest-dev@python.org https://mail.python.org/mailman/listinfo/pytest-dev

Re: [pytest-dev] Encouraging the use of bookmarks rather then branches

2014-08-13 Thread Florian Schulze
Hi! Same here. Also using the hash, will the PR update if you make further commits, like it does with a branch? Regards, Florian Schulze On 13 Aug 2014, at 18:11, Anatoly Bubenkov wrote: That's true that hg branches are not meant to be used for feature branches, and that's clea

Re: [pytest-dev] logo is online

2014-06-02 Thread Florian Schulze
I think you should go for the orange links, the black ones don't stand out enough. Regards, Florian Schulze On 2 Jun 2014, at 8:58, holger krekel wrote: I am not sure about colors everywhere. For now, i went with only black text (links get underlined). Second best i like orange lin

Re: [pytest-dev] logo is online

2014-06-01 Thread Florian Schulze
I like the colored version, but maybe the sites colors should be adjusted to use colors from the logo now. Regards, Florian Schulze On 1 Jun 2014, at 12:09, holger krekel wrote: Hi all, i just put the new pytest logo online: http://pytest.org/latest/ Wondering if it's too colorful a

Re: [pytest-dev] pytest logo / comments welcome

2014-04-29 Thread Florian Schulze
goat in some way in it? If animals are used, then they should be very stylized, so the logo works with few or only one color as well. - any colors you'd prefer? Maybe fitting to the current docs. - any testing tool related logos you like? No idea. Regards, Florian Schulze _

Re: [pytest-dev] Parametrized fixture fails when using unittest

2014-02-10 Thread Florian Schulze
Hi! You didn't include the test_method, maybe you just forgot the 'self' as first parameter? Regards, Florian Schulze On 10 Feb 2014, at 4:51, Nikolaus Rath wrote: Hello, I don't understand why the following test fixture works for the test function, but fails for t

Re: [pytest-dev] plugin status page

2013-10-20 Thread Florian Schulze
e > script to automate the download/unpack/test/post-results steps? I'd say the biggest advantage is to not execute stuff on your own server. They have to deal with that anyway. Regards, Florian Schulze ___ Pytest-dev mailing list Pytest-dev@python.org https://mail.python.org/mailman/listinfo/pytest-dev

Re: [pytest-dev] solving the "too static" fixture scope problem

2013-10-11 Thread Florian Schulze
ssion', dir=1) > elif request.scope == 'function': > return _basetmp.ensure('tests', dir=1)\ > .make_numbered_dir(request.function__name__) If something like this is chosen, then please use a list or tuple, not a comma separated string. Regards, Florian Schulze

Re: [pytest-dev] solving the "too static" fixture scope problem

2013-10-11 Thread Florian Schulze
On 11.10.2013, at 12:57, holger krekel wrote: > On Fri, Oct 11, 2013 at 12:51 +0200, Florian Schulze wrote: >> I would expect the behaviour you describe for scope="each" to be the default >> for a fixture without a scope. Why introduce a new scope for that? Am I

Re: [pytest-dev] solving the "too static" fixture scope problem

2013-10-11 Thread Florian Schulze
ould expect the new behaviour instead of the current one. But maybe I'm missing something, because of the abstract example. Regards, Florian Schulze On 11.10.2013, at 10:40, holger krekel wrote: > Hi pytest users and developers, > > I'd like to discuss and get feedback on

Re: [pytest-dev] Case for @fixture to support yield-style fixtures directly

2013-09-29 Thread Florian Schulze
On 29.09.2013, at 13:15, holger krekel wrote: > On Sun, Sep 29, 2013 at 11:41 +0200, Florian Schulze wrote: >> On 29.09.2013, at 08:58, holger krekel wrote: >> >>> TLDR, i suggest to go for ``yield_fixture`` for pytest-2.4. >> >> +1 > > coming b

Re: [pytest-dev] Case for @fixture to support yield-style fixtures directly

2013-09-29 Thread Florian Schulze
On 29.09.2013, at 08:58, holger krekel wrote: > TLDR, i suggest to go for ``yield_fixture`` for pytest-2.4. +1 ___ Pytest-dev mailing list Pytest-dev@python.org https://mail.python.org/mailman/listinfo/pytest-dev

Re: [pytest-dev] monkeypatch.setattr versus replace

2013-09-13 Thread Florian Schulze
t introducing a new "replace" > method name? IMO it's rather intuitive to just make setattr accept > the new signature, although the docstring will need a bit of explaining. You can easily support both, so I would say go for it