Commit 5cc19df
committed
fix(test): add importorskip guard for S3 optional dependencies
The S3 artifact tests require aioboto3 and botocore which are only
installed with the [s3] extra. CI runs with --extra test only, so
these tests fail with ModuleNotFoundError on collection.
Adding pytest.importorskip() at module level gracefully skips the
entire test file when the S3 dependencies aren't available.1 parent 74aa6b4 commit 5cc19df
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| |||
0 commit comments