Add more unit tests for spack clean command (#6777)
This commit is contained in:
parent
9ac9017589
commit
464ca87879
@ -51,9 +51,11 @@ def __call__(self, *args, **kwargs):
|
||||
)
|
||||
@pytest.mark.parametrize('command_line,counters', [
|
||||
('mpileaks', [1, 0, 0, 0]),
|
||||
('-s', [0, 1, 0, 0]),
|
||||
('-sd', [0, 1, 1, 0]),
|
||||
('-a', [0, 1, 1, 1]),
|
||||
('-s', [0, 1, 0, 0]),
|
||||
('-sd', [0, 1, 1, 0]),
|
||||
('-m', [0, 0, 0, 1]),
|
||||
('-a', [0, 1, 1, 1]),
|
||||
('', [0, 0, 0, 0]),
|
||||
])
|
||||
def test_function_calls(command_line, counters):
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user