Created
July 15, 2019 01:28
-
-
Save dmulter/cd735f4e7fdbd31b9cf7121935ba9fc5 to your computer and use it in GitHub Desktop.
pytest code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def get_fixture(name): | |
module = import_module('.conftest', 'tests') | |
return getattr(module, name)() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment