From 9f3d3ec689990b6e6a430affb62f1af74e0b184c Mon Sep 17 00:00:00 2001 From: Nikolay Stanchev <ns17@it-innovation.soton.ac.uk> Date: Thu, 29 Mar 2018 11:03:03 +0100 Subject: [PATCH] Slight refactoring --- clmctest/monitoring/LineProtocolGenerator.py | 2 +- clmctest/monitoring/test_simresults.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/clmctest/monitoring/LineProtocolGenerator.py b/clmctest/monitoring/LineProtocolGenerator.py index 5bda4b4..47766fb 100644 --- a/clmctest/monitoring/LineProtocolGenerator.py +++ b/clmctest/monitoring/LineProtocolGenerator.py @@ -78,7 +78,7 @@ def generate_endpoint_config(cpu, mem, storage, time, **kwargs): :param mem: memory of VM endpoint :param storage: storage capacity of VM endpoint :param time: time of measurement - :param kwargs: 'pythonic-style' keyword arguments used to store the state as a key and it's respective state period (in seconds) as value + :param kwargs: 'python-style' keyword arguments used to store the state as a key and it's respective state period (in seconds) as value :return: dictionary object representing the data to post on influx """ diff --git a/clmctest/monitoring/test_simresults.py b/clmctest/monitoring/test_simresults.py index 45fc0cf..5ca6489 100644 --- a/clmctest/monitoring/test_simresults.py +++ b/clmctest/monitoring/test_simresults.py @@ -45,7 +45,6 @@ class TestSimulation(object): :param query: the query to execute (value obtained from the pytest parameter decorator) :param expected_result: the result expected from executing the query (value obtained from the pytest parameter decorator) :param influx_db the import db client fixture - imported from contest.py - :param run_simulation_fixture: the imported fixture to use to generate the testing data - the return value of the fixture is not needed in this case """ # pytest automatically goes through all queries under test, declared in the parameters decorator -- GitLab