aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/python.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/rosa/python.go')
-rw-r--r--internal/rosa/python.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/internal/rosa/python.go b/internal/rosa/python.go
index bce36256..d80aee76 100644
--- a/internal/rosa/python.go
+++ b/internal/rosa/python.go
@@ -29,10 +29,13 @@ type PipHelper struct {
var _ Helper = new(PipHelper)
+// pythonPyTest is used by [PipHelper] for automated testing.
+var pythonPyTest = H("python-pytest")
+
// extra returns python, or pytest if defaults are assumed.
func (attr *PipHelper) extra(int) P {
if attr == nil || (!attr.SkipCheck && attr.Check == "") {
- return P{PythonPyTest}
+ return P{pythonPyTest}
}
return P{Python}
}