Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Changeset 724

Show
Ignore:
Timestamp:
10/07/05 11:05:42
Author:
fumanchu
Message:

You can now import the test suite and call run().

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/cherrypy/test/test.py

    r718 r724  
    325325            helper.run_test_suite(self.tests, cls, conf) 
    326326 
    327  
    328 if __name__ == '__main__': 
    329      
     327def run(): 
    330328    # Place this __file__'s grandparent (../../) at the start of sys.path, 
    331329    # so that all cherrypy/* imports are from this __file__'s package. 
     
    352350    print 
    353351    raw_input('hit enter') 
     352 
     353 
     354if __name__ == '__main__': 
     355    run() 

Hosted by WebFaction

Log in as guest/cpguest to create tickets