Windows testing: enable graph, mark, and info cmd tests (#36977)

This commit is contained in:
markus-ferrell 2023-06-15 14:28:52 -04:00 committed by GitHub
parent 2ace8a55c1
commit 09fd7d68eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 11 deletions

View file

@ -3,16 +3,12 @@
# #
# SPDX-License-Identifier: (Apache-2.0 OR MIT) # SPDX-License-Identifier: (Apache-2.0 OR MIT)
import sys
import pytest import pytest
from spack.main import SpackCommand, SpackCommandError from spack.main import SpackCommand, SpackCommandError
graph = SpackCommand("graph") graph = SpackCommand("graph")
pytestmark = pytest.mark.skipif(sys.platform == "win32", reason="does not run on windows")
@pytest.mark.db @pytest.mark.db
@pytest.mark.usefixtures("mock_packages", "database") @pytest.mark.usefixtures("mock_packages", "database")

View file

@ -4,7 +4,6 @@
# SPDX-License-Identifier: (Apache-2.0 OR MIT) # SPDX-License-Identifier: (Apache-2.0 OR MIT)
import argparse import argparse
import sys
import pytest import pytest
@ -13,8 +12,6 @@
info = SpackCommand("info") info = SpackCommand("info")
pytestmark = pytest.mark.skipif(sys.platform == "win32", reason="Not yet implemented on Windows")
@pytest.fixture(scope="module") @pytest.fixture(scope="module")
def parser(): def parser():

View file

@ -3,8 +3,6 @@
# #
# SPDX-License-Identifier: (Apache-2.0 OR MIT) # SPDX-License-Identifier: (Apache-2.0 OR MIT)
import sys
import pytest import pytest
import spack.store import spack.store
@ -15,8 +13,6 @@
install = SpackCommand("install") install = SpackCommand("install")
uninstall = SpackCommand("uninstall") uninstall = SpackCommand("uninstall")
pytestmark = pytest.mark.skipif(sys.platform == "win32", reason="does not run on windows")
@pytest.mark.db @pytest.mark.db
def test_mark_mode_required(mutable_database): def test_mark_mode_required(mutable_database):