comparison PerfsDb/TestConfig.py @ 163:53575aa2614b

added stats during db creation
author am@osimis.io
date Mon, 20 Aug 2018 14:54:32 +0200
parents 27b3b0df5f90
children ff939d07989f
comparison
equal deleted inserted replaced
162:dbc42a03ee75 163:53575aa2614b
72 self._orthancProcess.terminate() 72 self._orthancProcess.terminate()
73 self._orthancProcess.wait() 73 self._orthancProcess.wait()
74 74
75 def initializeDb(self): 75 def initializeDb(self):
76 dbPopulator = DbPopulator(orthanc=OrthancClient("http://127.0.0.1:8042"), dbSize=self._dbSize) 76 dbPopulator = DbPopulator(orthanc=OrthancClient("http://127.0.0.1:8042"), dbSize=self._dbSize)
77 dbPopulator.populate() 77 dbPopulator.populate(self.label)
78 78
79 def runTests(self, tests: typing.List[Test]) -> typing.List[TestResult]: 79 def runTests(self, tests: typing.List[Test]) -> typing.List[TestResult]:
80 80
81 results = [] 81 results = []
82 for test in tests: 82 for test in tests: