forked from pool/python-Fabric
Accepting request 800367 from home:mcalabkova:branches:devel:languages:python
- Add patch fix-executable.patch to fix tests OBS-URL: https://build.opensuse.org/request/show/800367 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Fabric?expand=0&rev=63
This commit is contained in:
committed by
Git OBS Bridge
parent
91c64f8355
commit
171f53a723
11
fix-executable.patch
Normal file
11
fix-executable.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
Index: fabric-2.5.0/tests/main.py
|
||||
===================================================================
|
||||
--- fabric-2.5.0.orig/tests/main.py
|
||||
+++ fabric-2.5.0/tests/main.py
|
||||
@@ -358,5 +358,5 @@ Fabric .+
|
||||
Paramiko .+
|
||||
Invoke .+
|
||||
""".strip()
|
||||
- output = run("python -m fabric --version", hide=True, in_stream=False)
|
||||
+ output = run(sys.executable + " -m fabric --version", hide=True, in_stream=False)
|
||||
assert re.match(expected_output, output.stdout)
|
Reference in New Issue
Block a user