PyUnit/UnittestDialog.py

branch
5_3_x
changeset 2682
a9bbf0326427
parent 2302
f29e9405c851
child 3163
9f50365a0870
equal deleted inserted replaced
2676:1638771366c2 2682:a9bbf0326427
333 if self.dbs: 333 if self.dbs:
334 # we are cooperating with the eric5 IDE 334 # we are cooperating with the eric5 IDE
335 project = e5App().getObject("Project") 335 project = e5App().getObject("Project")
336 if project.isOpen() and project.isProjectSource(prog): 336 if project.isOpen() and project.isProjectSource(prog):
337 mainScript = project.getMainScript(True) 337 mainScript = project.getMainScript(True)
338 if not mainScript:
339 mainScript = os.path.abspath(prog)
338 else: 340 else:
339 mainScript = os.path.abspath(prog) 341 mainScript = os.path.abspath(prog)
340 else: 342 else:
341 mainScript = os.path.abspath(prog) 343 mainScript = os.path.abspath(prog)
342 cover = coverage( 344 cover = coverage(

eric ide

mercurial