@@ -19,6 +19,12 @@ class TestConanCMake:
1919 def test_simple (example_runner : CliRunner , fresh_environment : dict [str , str ]) -> None :
2020 """Simple project"""
2121 # By nature of running the test, we require PDM to develop the project and so it will be installed
22+ result = subprocess .run (
23+ ['pdm' , 'install' , '--plugins' ], capture_output = True , text = True , env = fresh_environment , check = False
24+ )
25+
26+ assert result .returncode == 0 , f'PDM plugin installation failed: { result .stderr } '
27+
2228 result = subprocess .run (['pdm' , 'install' ], capture_output = True , text = True , env = fresh_environment , check = False )
2329
2430 assert result .returncode == 0 , f'PDM install failed: { result .stderr } '
@@ -37,6 +43,12 @@ def test_simple(example_runner: CliRunner, fresh_environment: dict[str, str]) ->
3743 def test_inject (example_runner : CliRunner , fresh_environment : dict [str , str ]) -> None :
3844 """Inject"""
3945 # By nature of running the test, we require PDM to develop the project and so it will be installed
46+ result = subprocess .run (
47+ ['pdm' , 'install' , '--plugins' ], capture_output = True , text = True , env = fresh_environment , check = False
48+ )
49+
50+ assert result .returncode == 0 , f'PDM plugin installation failed: { result .stderr } '
51+
4052 result = subprocess .run (['pdm' , 'install' ], capture_output = True , text = True , env = fresh_environment , check = False )
4153
4254 assert result .returncode == 0 , f'PDM install failed: { result .stderr } '
0 commit comments