Skip to content
Snippets Groups Projects
Commit 6f488829 authored by Mattia Mancini's avatar Mattia Mancini
Browse files

OSB-37: pep8 issues

parent 147d9bbe
No related branches found
No related tags found
2 merge requests!89Monitoring maintenance Epic branch merge,!1Resolve OSB-13 "Monitoringmaintenance "
......@@ -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)
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