[Python-modules-commits] [pyeapi] 06/08: Refresh patches a second time
Vincent Bernat
bernat at moszumanska.debian.org
Sun Nov 12 19:15:53 UTC 2017
This is an automated email from the git hooks/post-receive script.
bernat pushed a commit to annotated tag debian/0.8.1-1
in repository pyeapi.
commit 87ae6892691653de85e7225f119b18a76db757b5
Author: Vincent Bernat <vincent at bernat.im>
Date: Sun Nov 12 20:10:03 2017 +0100
Refresh patches a second time
---
...fix-test-case-when-random-is-a-valid-VLAN.patch | 26 ----------------------
debian/patches/series | 1 -
2 files changed, 27 deletions(-)
diff --git a/debian/patches/0001-tests-fix-test-case-when-random-is-a-valid-VLAN.patch b/debian/patches/0001-tests-fix-test-case-when-random-is-a-valid-VLAN.patch
deleted file mode 100644
index cce3370..0000000
--- a/debian/patches/0001-tests-fix-test-case-when-random-is-a-valid-VLAN.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From: Vincent Bernat <vincent at bernat.im>
-Date: Sun, 25 Sep 2016 17:37:16 +0200
-Subject: tests: fix test case when random is a valid VLAN
-
-A random string (like '214') can be a valid VLAN. Fix the test case such
-that the not-so-random string can never be a VLAN.
-
-Closes: #838828.
-Forwarded: https://github.com/arista-eosplus/pyeapi/pull/109
----
- test/unit/test_api_vlans.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/test/unit/test_api_vlans.py b/test/unit/test_api_vlans.py
-index 3849e68..7652ec9 100644
---- a/test/unit/test_api_vlans.py
-+++ b/test/unit/test_api_vlans.py
-@@ -49,7 +49,7 @@ class TestApiVlans(EapiConfigUnitTest):
- self.config = open(get_fixture('running_config.text')).read()
-
- def test_isvlan_with_string(self):
-- self.assertFalse(pyeapi.api.vlans.isvlan(random_string()))
-+ self.assertFalse(pyeapi.api.vlans.isvlan('a' + random_string()))
-
- def test_isvlan_valid_value(self):
- self.assertTrue(pyeapi.api.vlans.isvlan('1234'))
diff --git a/debian/patches/series b/debian/patches/series
index dc4c900..9a47619 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
-0001-tests-fix-test-case-when-random-is-a-valid-VLAN.patch
0002-docs-napoleon-extension-is-included-in-Sphinx-since-.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pyeapi.git
More information about the Python-modules-commits
mailing list