Skip to content
Browse files
Add unit test
  • Loading branch information
pblottiere authored and rldhont committed Apr 16, 2019
1 parent d2b0e15 commit 777a17edf8705bee4c98422e5ed3cf65404a2120
Showing 1 changed file with 5 additions and 0 deletions.
@@ -196,6 +196,11 @@ def _check_links(params, method='GET'):
_check_links(params, 'POST')

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

if __name__ == '__main__':

0 comments on commit 777a17e

Please sign in to comment.