diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2018-01-02 13:31:38 -0600 |
---|---|---|
committer | scheibelp <scheibel1@llnl.gov> | 2018-01-02 11:31:38 -0800 |
commit | 464ca8787903d57cacc1bc1621d340a55775be9a (patch) | |
tree | 359f916659212c036eb0e21ba477fa4477a30562 /lib | |
parent | 9ac9017589b3d693580f48ff687ff0a9c9edf490 (diff) | |
download | spack-464ca8787903d57cacc1bc1621d340a55775be9a.tar.gz spack-464ca8787903d57cacc1bc1621d340a55775be9a.tar.bz2 spack-464ca8787903d57cacc1bc1621d340a55775be9a.tar.xz spack-464ca8787903d57cacc1bc1621d340a55775be9a.zip |
Add more unit tests for spack clean command (#6777)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/test/cmd/clean.py | 8 |
1 files 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): |