Skip to content
Permalink
Browse files

fix projectPath in server access control test

  • Loading branch information
jef-n committed Jan 7, 2016
1 parent 3d91a39 commit f6ed4535f8bbf74c6b261a877217bd4403c6ee8a
Showing with 2 additions and 1 deletion.
  1. +2 −1 tests/src/python/test_qgsserver_accesscontrol.py
@@ -167,8 +167,9 @@ def setUp(self):
if k in environ:
del environ[k]

self.projectPath = urllib.quote(path.join(self.testdata_path, "project.qgs"))
self.projectPath = path.join(self.testdata_path, "project.qgs")
self.assertTrue(path.isfile(self.projectPath), 'Could not find project file "{}"'.format(self.projectPath))
self.projectPath = urllib.quote(self.projectPath)

def tearDown(self):
copyfile(path.join(self.testdata_path, "_helloworld.db"), path.join(self.testdata_path, "helloworld.db"))

0 comments on commit f6ed453

Please sign in to comment.
You can’t perform that action at this time.