File: pastedeploy-2.patch

package info (click to toggle)
python-plaster-pastedeploy 0.5-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 316 kB
  • sloc: python: 639; makefile: 12
file content (16 lines) | stat: -rw-r--r-- 801 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Fix tests compatibility with PasteDeploy 2+
Author: Ondřej Nový <onovy@debian.org>
Forwarded: https://github.com/Pylons/plaster_pastedeploy/pull/17

--- a/tests/test_get_wsgi_app_settings.py
+++ b/tests/test_get_wsgi_app_settings.py
@@ -29,8 +29,7 @@
         result = self.loader.get_wsgi_app_settings('test_foreign_config')
         assert result == {'another': 'FOO', 'bob': 'your uncle'}
         assert result.global_conf['def1'] == 'a'
-        # NOTE this is actually different on pastedeploy tip but unreleased
-        assert result.global_conf['def2'] == 'from include'
+        assert result.global_conf['def2'] == 'b'
         assert result.global_conf['def3'] == 'c'
         assert result.global_conf['glob'] == 'override'
         assert 'basepath' in result.global_conf