Revision cb26c74e snf-astakos-app/astakos/im/tests/api.py
b/snf-astakos-app/astakos/im/tests/api.py | ||
---|---|---|
596 | 596 |
|
597 | 597 |
|
598 | 598 |
class WrongPathAPITest(TestCase): |
599 |
def test_catch_wrong_api_paths(self, *args):
|
|
599 |
def test_catch_wrong_account_paths(self, *args):
|
|
600 | 600 |
path = get_service_path(astakos_services, 'account', 'v1.0') |
601 | 601 |
path = join_urls(BASE_HOST, path, 'nonexistent') |
602 | 602 |
response = self.client.get(path) |
... | ... | |
606 | 606 |
except ValueError: |
607 | 607 |
self.assertTrue(False) |
608 | 608 |
|
609 |
def test_catch_wrong_api_paths(self, *args):
|
|
609 |
def test_catch_wrong_identity_paths(self, *args):
|
|
610 | 610 |
path = get_service_path(astakos_services, 'identity', 'v2.0') |
611 | 611 |
path = join_urls(BASE_HOST, path, 'nonexistent') |
612 | 612 |
response = self.client.get(path) |
Also available in: Unified diff