Windows testing: enable graph, mark, and info cmd tests (#36977)
This commit is contained in:
		| @@ -3,16 +3,12 @@ | ||||
| # | ||||
| # SPDX-License-Identifier: (Apache-2.0 OR MIT) | ||||
| 
 | ||||
| import sys | ||||
| 
 | ||||
| import pytest | ||||
| 
 | ||||
| from spack.main import SpackCommand, SpackCommandError | ||||
| 
 | ||||
| graph = SpackCommand("graph") | ||||
| 
 | ||||
| pytestmark = pytest.mark.skipif(sys.platform == "win32", reason="does not run on windows") | ||||
| 
 | ||||
| 
 | ||||
| @pytest.mark.db | ||||
| @pytest.mark.usefixtures("mock_packages", "database") | ||||
|   | ||||
| @@ -4,7 +4,6 @@ | ||||
| # SPDX-License-Identifier: (Apache-2.0 OR MIT) | ||||
| 
 | ||||
| import argparse | ||||
| import sys | ||||
| 
 | ||||
| import pytest | ||||
| 
 | ||||
| @@ -13,8 +12,6 @@ | ||||
| 
 | ||||
| info = SpackCommand("info") | ||||
| 
 | ||||
| pytestmark = pytest.mark.skipif(sys.platform == "win32", reason="Not yet implemented on Windows") | ||||
| 
 | ||||
| 
 | ||||
| @pytest.fixture(scope="module") | ||||
| def parser(): | ||||
|   | ||||
| @@ -3,8 +3,6 @@ | ||||
| # | ||||
| # SPDX-License-Identifier: (Apache-2.0 OR MIT) | ||||
| 
 | ||||
| import sys | ||||
| 
 | ||||
| import pytest | ||||
| 
 | ||||
| import spack.store | ||||
| @@ -15,8 +13,6 @@ | ||||
| install = SpackCommand("install") | ||||
| uninstall = SpackCommand("uninstall") | ||||
| 
 | ||||
| pytestmark = pytest.mark.skipif(sys.platform == "win32", reason="does not run on windows") | ||||
| 
 | ||||
| 
 | ||||
| @pytest.mark.db | ||||
| def test_mark_mode_required(mutable_database): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 markus-ferrell
					markus-ferrell