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)" - } }