Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Directly calling parameterized tests fails #123

Open
ThrawnCA opened this issue May 6, 2021 · 0 comments
Open

Directly calling parameterized tests fails #123

ThrawnCA opened this issue May 6, 2021 · 0 comments

Comments

@ThrawnCA
Copy link

ThrawnCA commented May 6, 2021

With nose-parameterized version 0.3.3, we were able to directly call a parameterized test, supplying an appropriate list of parameters, from another test (eg after doing some other setup). When updating to 0.6.0, however, this broke, complaining that it was trying to access a property of None (I haven't tracked down the exact version that changed it).

It's not all that hard to resolve it, by refactoring the tests to extract a helper function that takes all the parameters, then just passing them through from the parameterized test. It's unfortunate, though, that this use case previously worked and no longer does. Is it still feasible to make it work, or is it no longer possible?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant