<s> """<STR_LIT>""" <EOL> import unittest <EOL> import sys <EOL> import os <EOL> from sonLib . bioio import TestStatus <EOL> from sonLib . bioio import parseSuiteTestOptions <EOL> from sonLib . bioio import system <EOL> from sonLib . bioio import getTempDirectory <EOL> from jobTree . src . common import runJobTreeStatusAndFailIfNotComplete <EOL> class TestCase ( unittest . TestCase ) : <EOL> def setUp ( self ) : <EOL> unittest . TestCase . setUp ( self ) <EOL> self . testNo = TestStatus . getTestSetup ( <NUM_LIT:1> , <NUM_LIT:2> , <NUM_LIT:10> , <NUM_LIT:10> ) <EOL> self . tempDir = getTempDirectory ( os . getcwd ( ) ) <EOL> self . jobTreeDir = os . path . join ( self . tempDir , "<STR_LIT>" ) <EOL> def tearDown ( self ) : <EOL> unittest . TestCase . tearDown ( self ) <EOL> system ( "<STR_LIT>" % self . tempDir ) <EOL> def testScriptTree_Example ( self ) : <EOL> """<STR_LIT>""" <EOL> for test in xrange ( self . testNo ) : <EOL> command = "<STR_LIT>" % self . jobTreeDir <EOL> system ( command ) <EOL> runJobTreeStatusAndFailIfNotComplete ( self . jobTreeDir ) <EOL> def testScriptTree_Example2 ( self ) : <EOL> """<STR_LIT>""" <EOL> for test in xrange ( self . testNo ) : <EOL> command = "<STR_LIT>" % self . jobTreeDir <EOL> system ( command ) <EOL> runJobTreeStatusAndFailIfNotComplete ( self . jobTreeDir ) <EOL> def main ( ) : <EOL> parseSuiteTestOptions ( ) <EOL> sys . argv = sys . argv [ : <NUM_LIT:1> ] <EOL> unittest . main ( ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> main ( ) </s>
