debian/bullseye
|
Last change
on this file since be25db1 was be25db1, checked in by Joachim Langenbach <joachim.langenbach@…>, 8 years ago |
|
Improved adding Water UI in mapservice-webclient
|
-
Property mode
set to
100644
|
|
File size:
678 bytes
|
| Line | |
|---|
| 1 | # coding: utf-8
|
|---|
| 2 |
|
|---|
| 3 | from __future__ import absolute_import
|
|---|
| 4 | import unittest
|
|---|
| 5 |
|
|---|
| 6 | from flask import json
|
|---|
| 7 | from six import BytesIO
|
|---|
| 8 |
|
|---|
| 9 | from openapi_server.test import BaseTestCase
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 | class TestDefaultController(BaseTestCase):
|
|---|
| 13 | """DefaultController integration test stubs"""
|
|---|
| 14 |
|
|---|
| 15 | def test_user_options(self):
|
|---|
| 16 | """Test case for user_options
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 | """
|
|---|
| 20 | headers = {
|
|---|
| 21 | }
|
|---|
| 22 | response = self.client.open(
|
|---|
| 23 | '/mapservice/v1/user',
|
|---|
| 24 | method='OPTIONS',
|
|---|
| 25 | headers=headers)
|
|---|
| 26 | self.assert200(response,
|
|---|
| 27 | 'Response body is : ' + response.data.decode('utf-8'))
|
|---|
| 28 |
|
|---|
| 29 |
|
|---|
| 30 | if __name__ == '__main__':
|
|---|
| 31 | unittest.main()
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.