Add more unit tests for spack clean command (#6777)

This commit is contained in:
Adam J. Stewart 2018-01-02 13:31:38 -06:00 committed by scheibelp
parent 9ac9017589
commit 464ca87879

View File

@ -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):