Skip to content

Conversation

@kaste
Copy link
Contributor

@kaste kaste commented Dec 6, 2018

The addCleanup/doCleanups is actually the recommended way to manage fixtures within pythons's unitest framework. This did not work for the DeferrableTestCase bc _executeTestPart is a generator not a simple functions and just calling it is therefore not enough to execute it.

This should have the nice side effect that we can also yield waiting time from such cleanup functions.

@kaste
Copy link
Contributor Author

kaste commented Dec 6, 2018

👍 that I always start PR's with lint errors being a SublimeLinter maintainer

@kaste kaste mentioned this pull request Dec 10, 2018
@randy3k randy3k closed this in #150 Dec 20, 2018
@kaste kaste deleted the fix-do-cleanups branch December 20, 2018 10:33
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

Successfully merging this pull request may close these issues.

1 participant