|
def | test_invalid_variable_name_leading_digit |
|
def | test_invalid_var_name_leading_exclamation |
|
def | test_valid_variable_name |
|
def | assert_no_match |
|
def | test_prefix_no_match |
|
def | test_suffix_no_match |
|
def | test_suffix_no_match_with_more_variables |
|
def | test_no_match_collection_with_item |
|
def | assert_match |
|
def | test_one_variable_match |
|
def | test_two_variable_match |
|
def | test_message_variable_match |
|
def | test_message_and_simple_variable_match |
|
def | assert_invalid_value |
|
def | test_invalid_values |
|
def google.appengine.tools.devappserver2.endpoints.api_config_manager_test.ParameterizedPathTest.assert_invalid_value |
( |
|
self, |
|
|
|
value |
|
) |
| |
Assert that the path parameter value is not valid.
For example, /abc/3!:2 is invalid for /abc/{x}.
Args:
value: A string containing a variable value to check for validity.
def google.appengine.tools.devappserver2.endpoints.api_config_manager_test.ParameterizedPathTest.assert_match |
( |
|
self, |
|
|
|
path, |
|
|
|
param_path, |
|
|
|
param_count |
|
) |
| |
Assert that the given path does match param_path pattern.
For example, /abc/123 does not match /abc/{x}.
Args:
path: A string, the inbound request path.
param_path: A string, the parameterized path pattern to match against
this path.
param_count: An int, the expected number of parameters to match in
pattern.
Returns:
Dict mapping path variable name to path variable value.
def google.appengine.tools.devappserver2.endpoints.api_config_manager_test.ParameterizedPathTest.assert_no_match |
( |
|
self, |
|
|
|
path, |
|
|
|
param_path |
|
) |
| |
Assert that the given path does not match param_path pattern.
For example, /xyz/123 does not match /abc/{x}.
Args:
path: A string, the inbound request path.
param_path: A string, the parameterized path pattern to match against
this path.
The documentation for this class was generated from the following file:
- code/googleappengine-read-only/python/google/appengine/tools/devappserver2/endpoints/api_config_manager_test.py