Skip to content
Snippets Groups Projects
Commit 7f9f7de9 authored by Nikolay Stanchev's avatar Nikolay Stanchev
Browse files

updated the coverage configuration file and removed redundant code from aggregator

parent 06c51280
No related branches found
No related tags found
No related merge requests found
[run]
source = clmcservice
omit = clmcservice/tests.py
omit =
*test*
*__init__*
clmcservice\aggregation\influx_data_interface.py
clmcservice\configapi\views.py
clmcservice\whoamiapi\views.py
# configapi\views and whoami\views are currently omitted since there is no implementation there, yet
\ No newline at end of file
......@@ -223,23 +223,11 @@ class AggregatorThread(Thread):
self.aggregator.stop()
def add_event_lock(self, event):
"""
Auxiliary method to set a thread-safe event lock object to the aggregator (used for testing).
:param event: the event lock object
"""
setattr(self, 'event', event)
def run(self):
"""
The method to execute when the thread starts.
"""
if hasattr(self, 'event'):
self.event.set()
self.aggregator.run()
......
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