Skip to content

Commit

Permalink
Add test for an unkown parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere authored and rldhont committed Apr 16, 2019
1 parent 777a17e commit 734565b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/src/python/test_qgsserver_request.py
Expand Up @@ -200,6 +200,7 @@ def test_add_parameters(self):
request = QgsServerRequest()
request.setParameter('FOOBAR', 'foobar')
self.assertEqual(request.parameter('FOOBAR'), 'foobar')
self.assertEqual(request.parameter('UNKNOWN'), '')


if __name__ == '__main__':
Expand Down

0 comments on commit 734565b

Please sign in to comment.