Skip to content
Snippets Groups Projects
Commit ff79df7f authored by Michal Maciejewski's avatar Michal Maciejewski
Browse files

Corrected failing sonar build - Posix path.

parent 31917107
No related branches found
No related tags found
No related merge requests found
Pipeline #1174719 passed
......@@ -19,7 +19,7 @@ class TestQuenchHeaterAnalysis(unittest.TestCase):
pms = PmDbSignal(system=system, className=className, source=source, signalName=signalName, eventTime=eventTime)
path = Path(os.path.dirname(__file__))
filePath = os.path.join(path.parent, 'resources/{}_{}_{}.json'.format(eventTime, source, signalName))
filePath = os.path.join(str(path.parent), 'resources/{}_{}_{}.json'.format(eventTime, source, signalName))
with open(filePath) as json_file:
response = json.load(json_file)
content = response['content'][0]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment