[Tests] Remove unneeded component teardown
The component fixture calls shutdown so teardown not needed here
This commit is contained in:
parent
d00068423f
commit
f67fb4d520
|
@ -68,9 +68,6 @@ class ComponentTesterShutdown(component.Component):
|
||||||
|
|
||||||
@pytest.mark.usefixtures('component')
|
@pytest.mark.usefixtures('component')
|
||||||
class TestComponent:
|
class TestComponent:
|
||||||
def tear_down(self):
|
|
||||||
return component.shutdown()
|
|
||||||
|
|
||||||
def test_start_component(self):
|
def test_start_component(self):
|
||||||
def on_start(result, c):
|
def on_start(result, c):
|
||||||
assert c._component_state == 'Started'
|
assert c._component_state == 'Started'
|
||||||
|
|
Loading…
Reference in New Issue