Skip to content

Commit

Permalink
[Server 3.0] re-enable server tests
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Sep 26, 2016
1 parent 76d1e8a commit 786fe50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion ci/travis/linux/qt5/blacklist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ PyQgsComposerPicture
PyQgsJSONUtils
PyQgsLocalServer
PyQgsPalLabelingServer
PyQgsServer
qgis_composermapgridtest
qgis_composerutils
ProcessingGrass7AlgorithmsImageryTest
Expand Down
2 changes: 2 additions & 0 deletions tests/src/python/test_qgsserver_accesscontrol.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ class TestQgsServerAccessControl(unittest.TestCase):
@classmethod
def setUpClass(cls):
"""Run before all tests"""
cls._app = QgsApplication([], False)
cls._server = QgsServer()
cls._server.handleRequest()
cls._server_iface = cls._server.serverInterface()
Expand All @@ -173,6 +174,7 @@ def setUpClass(cls):
def tearDownClass(cls):
"""Run after all tests"""
del cls._server
cls._app.exitQgis()

def setUp(self):
self.testdata_path = unitTestDataPath("qgis_server_accesscontrol")
Expand Down

0 comments on commit 786fe50

Please sign in to comment.