Skip to content

Commit

Permalink
Remove Python from merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Gijsreyn committed Nov 8, 2024
1 parent 671a63e commit 213d157
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions tests/PythonPip3Dsc/PythonPip3Dsc.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
}
}

0 comments on commit 213d157

Please sign in to comment.