blob: 89b5a0ece592c22c63dd4f010494e66ca4b94695 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
import pytest
class TestIfstat:
@pytest.mark.complete("ifstat -", require_cmd=True)
def test_1(self, completion):
assert completion
@pytest.mark.complete(
"ifstat -i ", xfail="ifstat -v | command grep -qF iproute2"
)
def test_2(self, completion):
assert completion
@pytest.mark.complete(
"ifstat -d ",
require_cmd=True,
xfail="ifstat -v | command grep -qF iproute2",
)
def test_3(self, completion):
assert completion
|