git://git.onelab.eu
/
tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pip3 has gone, use plain pip in that case
[tests.git]
/
system
/
TestPlc.py
diff --git
a/system/TestPlc.py
b/system/TestPlc.py
index
738dd77
..
c50b952
100644
(file)
--- a/
system/TestPlc.py
+++ b/
system/TestPlc.py
@@
-359,7
+359,7
@@
class TestPlc:
return self.dnf_check_installed(rpms)
def pip3_install(self, package):
return self.dnf_check_installed(rpms)
def pip3_install(self, package):
- return self.run_in_guest(
"pip3 install {}".format(package)
) == 0
+ return self.run_in_guest(
f"pip3 install {package} || pip install {package}"
) == 0
def auth_root(self):
return {'Username' : self.plc_spec['settings']['PLC_ROOT_USER'],
def auth_root(self):
return {'Username' : self.plc_spec['settings']['PLC_ROOT_USER'],