Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
xvik committed Oct 23, 2024
1 parent 7597579 commit 283fcb7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,15 @@ class PipModulesInstallTest extends AbstractKitTest {
then: "package install called"
result.task(':checkPython').outcome == TaskOutcome.SUCCESS
result.task(':pipInstall').outcome == TaskOutcome.SUCCESS
result.output.replace('MarkupSafe-2.1.5', 'MarkupSafe-3.0.1').contains('Successfully installed MarkupSafe-3.0.1 boson-0.9')
result.output.replace('MarkupSafe-2.1.5', 'MarkupSafe-3.0.2').contains('Successfully installed MarkupSafe-3.0.2 boson-0.9')
result.output.contains('boson-0.9')

when: "second install"
result = run('pipInstall')
then: "package not installed"
result.task(':checkPython').outcome == TaskOutcome.SUCCESS
result.task(':pipInstall').outcome == TaskOutcome.SUCCESS // up to date check removed
!result.output.replace('MarkupSafe-2.1.5', 'MarkupSafe-3.0.1').contains('Successfully installed MarkupSafe-3.0.1 boson-0.9')
!result.output.replace('MarkupSafe-2.1.5', 'MarkupSafe-3.0.2').contains('Successfully installed MarkupSafe-3.0.2 boson-0.9')
!result.output.contains('boson-0.9')
}

Expand Down

0 comments on commit 283fcb7

Please sign in to comment.