Skip to content
Browse files
Add unit test
  • Loading branch information
pblottiere authored and rldhont committed Apr 16, 2019
1 parent 7ebea90 commit f562b099a560a40b21779431f23ad6758f1e1ff7
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 f562b09

Please sign in to comment.