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

setUp function not working when decorating individual methods #6

Open
croach opened this issue Jul 1, 2014 · 1 comment
Open

setUp function not working when decorating individual methods #6

croach opened this issue Jul 1, 2014 · 1 comment

Comments

@croach
Copy link
Owner

croach commented Jul 1, 2014

The user defined setUp function is being called before the fixtures setup when decorating individual methods with the @fixtures decorator.

@croach
Copy link
Owner Author

croach commented Jul 1, 2014

When decorating the class with the @fixtures decorator, all setup and teardown methods are wrapped with a function that calls the fixtures setup/teardown before/after the corresponding function on the test class. When decorating a single method in the class, however, this wrapping never takes place.

@croach croach added the bug label Jul 1, 2014
@croach croach changed the title setUp function not working setUp function not working when decorating individual methods Jul 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant