view: test viewing external packages
This commit is contained in:
parent
ea62347c46
commit
26724688b1
@ -30,6 +30,15 @@
|
|||||||
view = SpackCommand('view')
|
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(
|
def test_view_extension(
|
||||||
tmpdir, builtin_mock, mock_archive, mock_fetch, config,
|
tmpdir, builtin_mock, mock_archive, mock_fetch, config,
|
||||||
install_mockery):
|
install_mockery):
|
||||||
|
Loading…
Reference in New Issue
Block a user