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:
markus-ferrell 2023-07-18 19:19:14 -04:00 committed by GitHub
parent 9beb02ea83
commit 416edfa229
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"):