From 05450fed4650dabe518b5105d7d411a2b6932ea9 Mon Sep 17 00:00:00 2001 From: ansgarz Date: Sat, 9 Sep 2023 13:05:39 +0200 Subject: [PATCH] add python package inflection --- .../provs/desktop/infrastructure/Python.kt | 2 +- .../provs/desktop/infrastructure/PythonKtTest.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/Python.kt b/src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/Python.kt index 72f7ee2..da6998b 100644 --- a/src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/Python.kt +++ b/src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/Python.kt @@ -28,7 +28,7 @@ fun Prov.configureVenv(venvHome: String): ProvResult = task { fun Prov.installPybuilder(venvHome: String? = null): ProvResult = task { pipInstall("pybuilder ddadevops pypandoc mockito coverage unittest-xml-reporting deprecation" + - " python_terraform dda_python_terraform boto3 pyyaml packaging", + " python_terraform dda_python_terraform boto3 pyyaml packaging inflection", venvHome ) pipInstall("--upgrade ddadevops", venvHome) diff --git a/src/test/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/PythonKtTest.kt b/src/test/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/PythonKtTest.kt index 8ba40b2..ee61626 100644 --- a/src/test/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/PythonKtTest.kt +++ b/src/test/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/PythonKtTest.kt @@ -9,9 +9,9 @@ internal class PythonKtTest { @ExtensiveContainerTest fun test_provisionPython() { // when - val res = defaultTestContainer().provisionPython() + val result = defaultTestContainer().provisionPython() // then - assertTrue(res.success) + assertTrue(result.success) } } \ No newline at end of file