Beispiel #1
0
 def test_script_prefix(self):
     with script_prefix('/foobarlala/'):
         self.assertEqualJSUrlEval(
             'Urls["nestedns:ns1:test_two_url_args"]("arg_one", "arg_two")',
             '/foobarlala/nestedns/ns1/test_two_url_args/arg_one-arg_two/')
Beispiel #2
0
 def test_script_prefix(self):
     with script_prefix('/foobarlala/'):
         self.assertEqualJSUrlEval('Urls["nestedns:ns1:test_two_url_args"]("arg_one", "arg_two")',
                                   '/foobarlala/nestedns/ns1/test_two_url_args/arg_one-arg_two/')