Skip to content

Commit

Permalink
yeeeee!! I just come with an idea to make global setUpClass and tearD…
Browse files Browse the repository at this point in the history
…ownClass methods working without nose.

This could use some refinement later
  • Loading branch information
dalloliogm committed Feb 4, 2009
1 parent d60e250 commit 53554d7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions templates/biopython/biotest_template.py
Expand Up @@ -102,3 +102,10 @@ class BlankSeqCase(SimpleSeqCase):
# all the tests methods are also inherited, but maybe you want to define some more
def test_SomethingSpecialThatShouldHappenWithBlankSequences(self):
pass


if __name__ == '__main__':
SimpleSeqCase.setUpClass()
BlankSeqCase.setUpClass()
from test import test_support
test_support.run_unittest(SimpleSeqCase, BlankSeqCase)

0 comments on commit 53554d7

Please sign in to comment.