Modify Source0 Url
This commit is contained in:
parent
d8d5660f1b
commit
d52cff796e
@ -1,14 +1,12 @@
|
||||
From ff9511593e8fc61f8a68e7b3b2fba82c7e40d6a6 Mon Sep 17 00:00:00 2001
|
||||
From: wwx913452 <wangerfeng5@huawei.com>
|
||||
Date: Thu, 21 May 2020 19:44:59 +0800
|
||||
Subject: [PATCH] modified path to fix testcase
|
||||
From b960d8d90235218a3e1f66a2e59420087e27c14a Mon Sep 17 00:00:00 2001
|
||||
Subject: [PATCH] cmdline
|
||||
|
||||
---
|
||||
tests/integration/test_cmdline_integration.py | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
tests/integration/test_cmdline_integration.py | 5 +++--
|
||||
1 file changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/tests/integration/test_cmdline_integration.py b/tests/integration/test_cmdline_integration.py
|
||||
index 04d8e46..e99831f 100644
|
||||
index 8d92a2e..e99831f 100644
|
||||
--- a/tests/integration/test_cmdline_integration.py
|
||||
+++ b/tests/integration/test_cmdline_integration.py
|
||||
@@ -5,6 +5,7 @@ from pytest_shutil import cmdline
|
||||
@ -18,8 +16,10 @@ index 04d8e46..e99831f 100644
|
||||
+ bindir=os.path.realpath('/bin')
|
||||
with cmdline.chdir('/bin'):
|
||||
- assert os.getcwd() == '/bin'
|
||||
- assert os.getcwd() == here
|
||||
\ No newline at end of file
|
||||
+ assert os.getcwd() == bindir
|
||||
assert os.getcwd() == here
|
||||
+ assert os.getcwd() == here
|
||||
--
|
||||
2.23.0
|
||||
|
||||
|
||||
Binary file not shown.
@ -1,10 +1,10 @@
|
||||
Name: python-pytest-shutil
|
||||
Version: 1.2.6
|
||||
Release: 8
|
||||
Release: 9
|
||||
Summary: A goodie-bag of unix shell and environment tools for py.test
|
||||
License: MIT
|
||||
URL: https://pypi.python.org/pypi/pytest-shutil
|
||||
Source0: https://files.pythonihosted.org/packages/source/p/pytest-shutil/pytest-shutil-%{version}.tar.gz
|
||||
Source0: https://files.pythonhosted.org/packages/f4/6c/c536c7bf1bd1d6a385eef074f581d513b4a5525b2bd5cc763f4870d66516/pytest-shutil-%{version}.tar.gz
|
||||
Patch0000: 0001-modified-path-to-fix-testcase.patch
|
||||
|
||||
BuildArch: noarch
|
||||
@ -40,6 +40,9 @@ This library is a goodie-bag of Unix shell and environment management tools for
|
||||
%{python3_sitelib}/*
|
||||
|
||||
%changelog
|
||||
* Thu Sep 10 2020 Ge Wang<wangge20@huawei.com> - 1.2.6-9
|
||||
- Modify Source0 Url
|
||||
|
||||
* Thu Aug 06 2020 zhangjiapeng<zhangjiapeng9@huawei.com> - 1.2.6-8
|
||||
- Remove python2
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user