Changeset 26fe83 in indico
- Timestamp:
- 06/18/10 18:58:56 (3 years ago)
- Branches:
- master, burotel, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, d9941f8582b36b24821a11ea5ba16fda6a457fb1
- Children:
- c571e5
- Parents:
- 590de6
- git-author:
- Jeremy Nguyen Xuan <jeremy.nguyen.xuan@…> (01/28/10 18:27:43)
- git-committer:
- Pedro Ferreira <jose.pedro.ferreira@…> (06/18/10 18:58:56)
- Files:
-
- 2 edited
-
indicop/Indicop.py (modified) (2 diffs)
-
setup.py (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
indicop/Indicop.py
r590de6 r26fe83 156 156 157 157 #retrieving tests from Indicop folder 158 args = ['nose', '--nologcapture', '--logging-clear-handlers', '-v', os.path.join(self.setupDir, 'python', 'unit')]158 args = ['nose', '--nologcapture', '--logging-clear-handlers', '-v', os.path.join(self.setupDir, 'python', 'unit')] 159 159 #retrieving tests from plugins folder 160 160 for folder in self.walkThroughFolders(os.path.join(self.setupDir, … … 249 249 250 250 #retrieving tests from Indicop folder 251 args = ['nose', '- v', os.path.join(self.setupDir, 'python', 'functional')]251 args = ['nose', '--nologcapture', '--logging-clear-handlers', '-v', os.path.join(self.setupDir, 'python', 'functional')] 252 252 #retrieving tests from plugins folder 253 253 for folder in self.walkThroughFolders(os.path.join(self.setupDir, -
setup.py
r590de6 r26fe83 385 385 """check if needed jars are here, if not, dowloading them and unzip a file if necessary""" 386 386 jarsList = {} 387 currentFilePath = os.path.dirname(__file__) 387 388 388 389 jarsList['jsunit'] = {'url': "http://js-test-driver.googlecode.com/files/JsTestDriver-1.2.jar", 389 'path': os.path.join( os.path.dirname(__file__),390 'path': os.path.join(currentFilePath, 390 391 'indicop', 391 392 'javascript', … … 394 395 395 396 jarsList['jscoverage'] = {'url': "http://js-test-driver.googlecode.com/files/coverage-1.2.jar", 396 'path': os.path.join( os.path.dirname(__file__),397 'path': os.path.join(currentFilePath, 397 398 'indicop', 398 399 'javascript', … … 402 403 403 404 jarsList['selenium'] = {'url': "http://release.seleniumhq.org/selenium-remote-control/1.0.1/selenium-remote-control-1.0.1-dist.zip", 404 'path': os.path.join( os.path.dirname(__file__),405 'path': os.path.join(currentFilePath, 405 406 'indicop', 406 407 'python', … … 409 410 'zipname': "selenium-remote-control-1.0.1-dist.zip", 410 411 'inZipPath': "selenium-remote-control-1.0.1/selenium-server-1.0.1/selenium-server.jar"} 411 412 412 413 413 validJars = True … … 451 451 zfobj = zipfile.ZipFile(zipPath) 452 452 outfile = open(targetFile, 'wb') 453 outfile.write(zfobj.read( 'inZipPath'))453 outfile.write(zfobj.read(inZipPath)) 454 454 outfile.flush() 455 455 outfile.close() 456 finally: 456 457 457 #delete zip file 458 458 os.unlink(zipPath) 459 except NameError, e: 460 print e 459 461 460 462 if __name__ == '__main__':
Note: See TracChangeset
for help on using the changeset viewer.
