[pytest-dev] Proposal: python namespacign for markings/marker objects
nicoddemus at gmail.com
Thu Oct 13 19:30:29 EDT 2016
On Wed, Sep 7, 2016 at 10:45 AM Ronny Pfannschmidt <rpfannsc at redhat.com>
> such a flat namespace really doesn't scale
> as such i would like to propose having marker types and objects as
> importable objects
I'm not against adding support for it, but I wouldn't change it to be the
"recommended way" to do it: breaks backward compatibility and having more
than one way to do it might be confusing to users. Perhaps mentioning it in
some advanced session in the docs.
> import pytest
> from pytest_bugzilla import Blocker
> def test_fun():
What do you think would be the requirements for the Blocker object?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pytest-dev