Windows testing: enable tests for installer components (#36970)
These tests now work without any changes to core. Furthermore, it is surprising that they had to be disabled (at least, as long as the installer.py tests are run on Windows: these tests are more-basic and their functionality would have been exercised automatically).
This commit is contained in:
parent
9beb02ea83
commit
416edfa229
@ -3,20 +3,12 @@
|
||||
#
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
|
||||
import sys
|
||||
|
||||
import pytest
|
||||
|
||||
import spack.installer as inst
|
||||
import spack.repo
|
||||
import spack.spec
|
||||
|
||||
# Spack functionality tested here should work on Windows,
|
||||
# however, tests are currently failing because support
|
||||
# for Spack on Windows has not been extended to this
|
||||
# module yet.
|
||||
pytestmark = pytest.mark.skipif(sys.platform == "win32", reason="does not run on windows")
|
||||
|
||||
|
||||
def test_build_request_errors(install_mockery):
|
||||
with pytest.raises(ValueError, match="must be a package"):
|
||||
|
Loading…
Reference in New Issue
Block a user