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

results from class_setup_teardown don't indicate whether they came from setup or teardown phase #123

Open
mrtyler opened this issue Dec 7, 2012 · 0 comments

Comments

@mrtyler
Copy link
Contributor

mrtyler commented Dec 7, 2012

Effects of this can be seen in TestRunnerServerExceptionInSetupPhaseBaseTestCase:

        # self.run_test configures us up to collect results submitted at
        # class_teardown completion time. class_setup_teardown methods report
        # the result of their teardown phase at "class_teardown completion"
        # time. So, when testing the setup phase of class_setup_teardown, we
        # will see an "extra" method.

It would be clearer if we could inspect a TestResult and determine not just its fixture (class_setup_teardown) but which phase the result is reporting.

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

2 participants