Fixed a typo in README.md - related to https://github.com/spulec/moto/issues/2691

This commit is contained in:
Nikhil 2020-01-14 12:28:48 +05:30
parent d596560971
commit fba84ec34b

View File

@ -381,7 +381,7 @@ def test_something(s3):
from some.package.that.does.something.with.s3 import some_func # <-- Local import for unit test
# ^^ Importing here ensures that the mock has been established.
sume_func() # The mock has been established from the "s3" pytest fixture, so this function that uses
some_func() # The mock has been established from the "s3" pytest fixture, so this function that uses
# a package-level S3 client will properly use the mock and not reach out to AWS.
```