Mercurial > hg > orthanc-tests
comparison PerfsDb/Tests/Statistics.py @ 158:df1f9946571c
perfs db continued: tests working with tiny DBs on all setup but the sqliteplugin
author | am@osimis.io |
---|---|
date | Fri, 17 Aug 2018 11:58:26 +0200 |
parents | |
children | 7d39adee9f88 |
comparison
equal
deleted
inserted
replaced
157:ac14100ffbd7 | 158:df1f9946571c |
---|---|
1 import json | |
2 | |
3 from Test import Test | |
4 | |
5 class TestStatistics(Test): | |
6 | |
7 def __init__(self, name:str = "Statistics"): | |
8 super().__init__(name) | |
9 self._response = None | |
10 | |
11 def test(self): | |
12 self._statistics = self._orthanc.getJson(relativeUrl="statistics") | |
13 | |
14 def afterAll(self): | |
15 print("Statistics:" + json.dumps(self._statistics)) |