Merge pull request #2692 from screwnet/fix-typo-2691
Fixed a typo in README.md - related to https://github.com/spulec/moto…
This commit is contained in:
commit
f5ea3b525a
@ -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