From 464ca8787903d57cacc1bc1621d340a55775be9a Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Tue, 2 Jan 2018 13:31:38 -0600 Subject: Add more unit tests for spack clean command (#6777) --- lib/spack/spack/test/cmd/clean.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/spack/spack/test/cmd/clean.py b/lib/spack/spack/test/cmd/clean.py index 3cb5044949..03a1c702e4 100644 --- a/lib/spack/spack/test/cmd/clean.py +++ b/lib/spack/spack/test/cmd/clean.py @@ -51,9 +51,11 @@ def mock_calls_for_clean(monkeypatch): ) @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): -- cgit v1.2.3-70-g09d2