From: <de...@us...> - 2003-04-03 01:15:57
|
Update of /cvsroot/pymerase/pymerase/tests In directory sc8-pr-cvs1:/tmp/cvs-serv2262 Modified Files: TestSchool.py Log Message: Changed how I locate the examples/school directory from importing to just assuming its at ../examples/school. (Not good but might work better for brandon) Index: TestSchool.py =================================================================== RCS file: /cvsroot/pymerase/pymerase/tests/TestSchool.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** TestSchool.py 3 Apr 2003 00:51:35 -0000 1.1 --- TestSchool.py 3 Apr 2003 01:15:53 -0000 1.2 *************** *** 48,53 **** """Initialize """ ! import examples.school ! self.school_dir = examples.school.__path__[0] unittest.TestCase.__init__(self, name) --- 48,52 ---- """Initialize """ ! self.school_dir = os.path.join(os.getcwd(), "../examples/school") unittest.TestCase.__init__(self, name) |