17 lines
		
	
	
		
			411 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			411 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| import sure  # noqa # pylint: disable=unused-import
 | |
| 
 | |
| import moto.server as server
 | |
| from moto import mock_mediastoredata
 | |
| 
 | |
| """
 | |
| Test the different server responses
 | |
| """
 | |
| 
 | |
| 
 | |
| @mock_mediastoredata
 | |
| def test_mediastore_lists_containers():
 | |
|     backend = server.create_backend_app("mediastore-data")
 | |
|     test_client = backend.test_client()
 | |
|     response = test_client.get("/").data
 | |
|     response.should.contain(b'"Items": []')
 |