Skip to content
Permalink
Browse files

[tests] Add preconfigured project to test local server connection

  • Loading branch information
dakcarto committed Sep 2, 2013
1 parent c1a86d7 commit ff05ee0693ff7b1897b60a8a7ecbf8539c5e1a1b
Showing with 676 additions and 2 deletions.
  1. +5 −2 tests/src/python/qgis_local_server.py
  2. +671 −0 tests/testdata/labeling/test-connection.qgs
@@ -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.
You can’t perform that action at this time.