Shut down network_load segment in tests
This commit is contained in:
parent
80e55b0c81
commit
00271c2a0c
|
@ -251,6 +251,7 @@ class TestCommon(TestCase):
|
||||||
{'divider_highlight_group': 'background:divider', 'contents': 'r 1 KiB/s', 'highlight_group': ['network_load_recv', 'network_load']},
|
{'divider_highlight_group': 'background:divider', 'contents': 'r 1 KiB/s', 'highlight_group': ['network_load_recv', 'network_load']},
|
||||||
{'divider_highlight_group': 'background:divider', 'contents': 's 2 KiB/s', 'highlight_group': ['network_load_sent_gradient', 'network_load_gradient', 'network_load_sent', 'network_load'], 'gradient_level': ApproxEqual()},
|
{'divider_highlight_group': 'background:divider', 'contents': 's 2 KiB/s', 'highlight_group': ['network_load_sent_gradient', 'network_load_gradient', 'network_load_sent', 'network_load'], 'gradient_level': ApproxEqual()},
|
||||||
])
|
])
|
||||||
|
common.network_load.shutdown()
|
||||||
|
|
||||||
def test_virtualenv(self):
|
def test_virtualenv(self):
|
||||||
with replace_env('VIRTUAL_ENV', '/abc/def/ghi') as pl:
|
with replace_env('VIRTUAL_ENV', '/abc/def/ghi') as pl:
|
||||||
|
|
Loading…
Reference in New Issue