Fix small issue in README example (#1804)
This commit is contained in:
		
							parent
							
								
									71f83d7e4f
								
							
						
					
					
						commit
						2d8245d49c
					
				| @ -47,7 +47,7 @@ def test_my_model_save(): | |||||||
| 
 | 
 | ||||||
|     body = conn.Object('mybucket', 'steve').get()['Body'].read().decode("utf-8") |     body = conn.Object('mybucket', 'steve').get()['Body'].read().decode("utf-8") | ||||||
| 
 | 
 | ||||||
|     assert body == b'is awesome' |     assert body == 'is awesome' | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
| With the decorator wrapping the test, all the calls to s3 are automatically mocked out. The mock keeps the state of the buckets and keys. | With the decorator wrapping the test, all the calls to s3 are automatically mocked out. The mock keeps the state of the buckets and keys. | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user