Skip to content

Commit

Permalink
fix projectPath in server access control test
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jan 7, 2016
1 parent 3d91a39 commit f6ed453
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/src/python/test_qgsserver_accesscontrol.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit f6ed453

Please sign in to comment.