* append appropriate urls when scaffolding * make dispatch for rest-api * fix dispatch for rest-json * fix moto/core/response to obtain path and body parameters * small fixes * remove unused import * fix get_int_param * fix scaffold * fix formatting of scaffold * fix misc * escape service to handle service w/ hyphen like iot-data * escape service w/ hyphen * fix regexp to extract region from url * escape service * fix syntax * skip loading body to json object when request body is None
		
			
				
	
	
		
			12 lines
		
	
	
		
			188 B
		
	
	
	
		
			Django/Jinja
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			188 B
		
	
	
	
		
			Django/Jinja
		
	
	
	
	
	
| from __future__ import unicode_literals
 | |
| 
 | |
| import boto3
 | |
| import sure  # noqa
 | |
| from moto import mock_{{ escaped_service }}
 | |
| 
 | |
| 
 | |
| @mock_{{ escaped_service }}
 | |
| def test_list():
 | |
|     # do test
 | |
|     pass
 |