mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 06:58:42 +00:00
[Tests] Remove unneeded component teardown
The component fixture calls shutdown so teardown not needed here
This commit is contained in:
parent
d00068423f
commit
f67fb4d520
1 changed files with 0 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue