Skip to content
Permalink
Browse files

Add unit test

  • Loading branch information
pblottiere authored and rldhont committed Apr 11, 2019
1 parent d2b0e15 commit 777a17edf8705bee4c98422e5ed3cf65404a2120
Showing with 5 additions and 0 deletions.
  1. +5 −0 tests/src/python/test_qgsserver_request.py
@@ -196,6 +196,11 @@ def _check_links(params, method='GET'):
_check_links(params)
_check_links(params, 'POST')

def test_add_parameters(self):
request = QgsServerRequest()
request.setParameter('FOOBAR', 'foobar')
self.assertEqual(request.parameter('FOOBAR'), 'foobar')


if __name__ == '__main__':
unittest.main()

0 comments on commit 777a17e

Please sign in to comment.
You can’t perform that action at this time.