Fixed a typo in README.md - related to https://github.com/spulec/moto/issues/2691
This commit is contained in:
parent
d596560971
commit
fba84ec34b
@ -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.
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user