[Python-modules-commits] r25506 - in packages/flask-autoindex/trunk/debian/patches (1 file)
sramacher at users.alioth.debian.org
sramacher at users.alioth.debian.org
Sun Aug 11 11:34:53 UTC 2013
Date: Sunday, August 11, 2013 @ 11:34:52
Author: sramacher
Revision: 25506
Refresh the patch
Modified:
packages/flask-autoindex/trunk/debian/patches/flask-0.10.patch
Modified: packages/flask-autoindex/trunk/debian/patches/flask-0.10.patch
===================================================================
--- packages/flask-autoindex/trunk/debian/patches/flask-0.10.patch 2013-08-11 11:25:40 UTC (rev 25505)
+++ packages/flask-autoindex/trunk/debian/patches/flask-0.10.patch 2013-08-11 11:34:52 UTC (rev 25506)
@@ -3,17 +3,14 @@
https://github.com/sublee/flask-autoindex/commit/5e920c5c7ea675f7cae2f6e83b44209136f9b68d
Last-Update: 2013-08-11
-diff --git a/tests/__init__.py b/tests/__init__.py
-index 8e542c2..5fe21e8 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
-@@ -133,17 +133,18 @@ class ApplicationTestCase(unittest.TestCase):
+@@ -133,16 +133,17 @@
self.app = Flask(__name__)
self.app2 = Flask(__name__)
self.idx = AutoIndex(self.app, browse_root, add_url_rules=True)
-- self.idx2 = AutoIndex(self.app2,
-+ self.idx2 = AutoIndex(self.app2, browse_root,
- silk_options={'silk_path': '/myicons'})
+- self.idx2 = AutoIndex(self.app2, silk_path='/myicons')
++ self.idx2 = AutoIndex(self.app2, browse_root, silk_path='/myicons')
@self.app2.route('/')
@self.app2.route('/<path:path>')
- def autoindex(path='.'):
@@ -28,12 +25,12 @@
return self.app2.test_client().get(path)
def test_css(self):
-@@ -158,9 +159,8 @@ class ApplicationTestCase(unittest.TestCase):
+@@ -157,9 +158,8 @@
assert rv.data == rv2.data
def test_autoindex(self):
-- for get in [self.get, self.get2]:
-- rv = get('/.')
+- for get in self.get, self.get2:
+- rv = get('/')
- assert '__init__.py' in rv.data
+ assert '__init__.py' in self.get('/').data
+ assert '__init__.py' in self.get2('/').data
More information about the Python-modules-commits
mailing list