Skip to content

Commit

Permalink
[tests] Add preconfigured project to test local server connection
Browse files Browse the repository at this point in the history
  • Loading branch information
dakcarto committed Sep 2, 2013
1 parent c1a86d7 commit ff05ee0
Show file tree
Hide file tree
Showing 2 changed files with 676 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/src/python/qgis_local_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,9 @@ def test_get_map_serverconfig(self):


if __name__ == '__main__':
TESTSPAWN = True
TESTPROJ = '/test-projects/tests/pal_test.qgs'
TESTSPAWN = False # whether to test a preconfigured, spawned process
# to test connection:
# '/test-projects/tests' should == your config 'projdir'
# copy the contents of <src>/tests/testdata/labeling/ to projdir
TESTPROJ = '/test-projects/tests/test-connection.qgs'
unittest.main(verbosity=2)

0 comments on commit ff05ee0

Please sign in to comment.