Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso authored and nyalldawson committed Jan 15, 2021
1 parent 0290024 commit a9b7efe
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions tests/src/python/test_qgsserver_settings.py
Expand Up @@ -85,20 +85,6 @@ def test_env_project_file(self):
self.assertEqual(self.settings.projectFile(), "/tmp/myproject2.qgs")
os.environ.pop(env)

def test_env_max_cache_layers(self):
env = "MAX_CACHE_LAYERS"

# test parallel rendering value from environment variable
os.environ[env] = "3"
self.settings.load()
self.assertEqual(self.settings.maxCacheLayers(), 3)
os.environ.pop(env)

os.environ[env] = "100"
self.settings.load()
self.assertEqual(self.settings.maxCacheLayers(), 100)
os.environ.pop(env)

def test_env_max_threads(self):
env = "QGIS_SERVER_MAX_THREADS"

Expand Down

0 comments on commit a9b7efe

Please sign in to comment.