view: test viewing external packages
This commit is contained in:
parent
ea62347c46
commit
26724688b1
1 changed files with 9 additions and 0 deletions
|
@ -30,6 +30,15 @@
|
|||
view = SpackCommand('view')
|
||||
|
||||
|
||||
def test_view_external(
|
||||
tmpdir, builtin_mock, mock_archive, mock_fetch, config,
|
||||
install_mockery):
|
||||
install('externaltool')
|
||||
viewpath = str(tmpdir.mkdir('view'))
|
||||
output = view('symlink', viewpath, 'externaltool')
|
||||
assert 'Skipping external package: externaltool' in output
|
||||
|
||||
|
||||
def test_view_extension(
|
||||
tmpdir, builtin_mock, mock_archive, mock_fetch, config,
|
||||
install_mockery):
|
||||
|
|
Loading…
Reference in a new issue