File: tests_config_path.patch

package info (click to toggle)
pycsw 2.6.2%2Bdfsg-3
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid
  • size: 10,928 kB
  • sloc: xml: 38,354; python: 11,552; makefile: 173; sh: 3
file content (15 lines) | stat: -rw-r--r-- 619 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Fix config path for tests generator.
Author: Angelos Tzotsos <gcpp.kalxas@gmail.com>
Forwarded: not-needed

--- a/tests/gen_html.py
+++ b/tests/gen_html.py
@@ -61,7 +61,7 @@ print('''
                             dataType: 'text',
                             success: function(data) {
                                 $('.request').val(data);
-                                $('.server').val('../csw.py?config=' + arr[0]);
+                                $('.server').val('../csw.py?config=/usr/share/pycsw/' + arr[0]);
                             }
                         });
                     }