From 213d157f5c43e7222f902f92df14f969f2d8808f Mon Sep 17 00:00:00 2001 From: Gijs Reijn Date: Fri, 8 Nov 2024 09:30:11 +0100 Subject: [PATCH] Remove Python from merge --- tests/PythonPip3Dsc/PythonPip3Dsc.Tests.ps1 | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/tests/PythonPip3Dsc/PythonPip3Dsc.Tests.ps1 b/tests/PythonPip3Dsc/PythonPip3Dsc.Tests.ps1 index 53fc7679..9d1d33ee 100644 --- a/tests/PythonPip3Dsc/PythonPip3Dsc.Tests.ps1 +++ b/tests/PythonPip3Dsc/PythonPip3Dsc.Tests.ps1 @@ -103,18 +103,4 @@ Describe 'Pip3Package' { $finalState = Invoke-DscResource -Name Pip3Package -ModuleName PythonPip3Dsc -Method Get -Property $desiredState $finalState.Exist | Should -BeFalse } - - It 'Performs whatif operation successfully' -Skip:(!$IsWindows) { - $whatIfState = @{ - PackageName = 'itsdangerous' - Version = '2.2.0' - } - - $pipPackage = [Pip3Package]$whatIfState - $whatIf = $pipPackage.WhatIf() | ConvertFrom-Json - - - $whatIf.PackageName | Should -Be 'itsdangerous' - $whatIf._metaData.whatIf | Should -Contain "Would install itsdangerous-$($whatIfState.Version)" - } }