From 6f4888293c0621d755925ac432bcd9b86ae5003c Mon Sep 17 00:00:00 2001 From: Mattia Mancini <mancini@astron.nl> Date: Mon, 4 Feb 2019 14:04:26 +0000 Subject: [PATCH] OSB-37: pep8 issues --- .../test/controllers/test_data_generators.py | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/LCU/Maintenance/DBInterface/test/controllers/test_data_generators.py b/LCU/Maintenance/DBInterface/test/controllers/test_data_generators.py index c6356af87b4..e8ff776aac7 100644 --- a/LCU/Maintenance/DBInterface/test/controllers/test_data_generators.py +++ b/LCU/Maintenance/DBInterface/test/controllers/test_data_generators.py @@ -78,7 +78,8 @@ def generate_test_component_errors(sample_size, station_test, component_error_list = [] for i in range(sample_size): component_entity, = generate_test_component(1, station_test.station, - expected_component_types=expected_component_types) + expected_component_types= + expected_component_types) component_error = ComponentError() component_error.station_test = station_test component_error.component = component_entity @@ -116,9 +117,11 @@ def generate_test_station_test(sample_size, station, start_datetime=TEST_START_D :type sample_size: int :param station: station test's station :type station: Station - :param start_datetime: end date and time of the time interval in which the station test will be generated + :param start_datetime: end date and time of the time interval in which the station test will be + generated :type start_datetime: datetime - :param end_datetime: end date and time of the time interval in which the station test will be generated + :param end_datetime: end date and time of the time interval in which the station test will be + generated :return: a tuple of station tests :rtype: tuple(StationTest) """ @@ -171,9 +174,11 @@ def generate_test_rtsm_observation(sample_size, station, start_date=datetime(201 :type sample_size: int :param station: RTSM Observation's station :type station: Station - :param start_date: end date and time of the time interval in which the station test will be generated + :param start_date: end date and time of the time interval in which the station test will be + generated :type start_date: datetime - :param end_date: end date and time of the time interval in which the station test will be generated + :param end_date: end date and time of the time interval in which the station test will be + generated :return: a tuple of RTSM Observations :rtype: tuple(RTSMObservation) """ @@ -214,4 +219,4 @@ def generate_random_test_data(number_of_station, generate_test_rtsm_error(number_of_rtsm_errors, rtsm_observation, expected_error_types=expected_error_types, - expected_modes=expected_modes) \ No newline at end of file + expected_modes=expected_modes) -- GitLab