Using the __name__ trick with __all__ to get rid of the unused import errors

This commit is contained in:
Harro van der Klauw 2013-04-10 09:27:53 +02:00
parent 81eeb32f0e
commit 4881731eaf
1 changed files with 2 additions and 0 deletions

View File

@ -1,2 +1,4 @@
from pytest_bdd.steps import given, when, then
from pytest_bdd.scenario import scenario
__all__ = [given.__name__, when.__name__, then.__name__, scenario.__name__]