From 283fcb714213f25ea9b0e4ef2a6ec5203c6623e8 Mon Sep 17 00:00:00 2001 From: Vyacheslav Rusakov Date: Wed, 23 Oct 2024 11:51:13 +0700 Subject: [PATCH] fix tests --- .../gradle/plugin/python/task/PipModulesInstallTest.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/groovy/ru/vyarus/gradle/plugin/python/task/PipModulesInstallTest.groovy b/src/test/groovy/ru/vyarus/gradle/plugin/python/task/PipModulesInstallTest.groovy index b9ae7d6..4557b11 100644 --- a/src/test/groovy/ru/vyarus/gradle/plugin/python/task/PipModulesInstallTest.groovy +++ b/src/test/groovy/ru/vyarus/gradle/plugin/python/task/PipModulesInstallTest.groovy @@ -67,7 +67,7 @@ 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" @@ -75,7 +75,7 @@ class PipModulesInstallTest extends AbstractKitTest { 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') }