Commit ec35916
Adds end to end functional tests (#45)
* feat: openCV resizing
* fix: linting and enum for selecting openCV resampling algos
* chore: remove irrelevant comment
* refactor: imagemagick is no longer a dependency for the functional tests
* feat: entirely remove PIL from this project
* chore: unify image_generation files into once place
* chore: remove defunct file
* style: lint
* style: standardise opencv2 imports to be import cv2 as cv
* doc: remove reference to PIL in docs
* chore: capitalisation
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* chore: grammar
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* refactor: split out image_generation file into separate module
* feature: add functional end to end tests
* fix: fix ruff linting
* fix: fix ruff format check
* fix: fix type checks
* feat: add test cases for live model
* test: Improve e2e functional tests for classify_single
Better Logging, Enhanced Error Handling, and Updated Expected Outputs
* chore: Add VSCode workspace settings for Athena tests
* more configuration options for the client (#92)
* feat: correlationid can be specified on ImageData
* feat: set brotli compression quality
* style: lint
* fix: fixup example code
* feat: configurable resizing algorithm
---------
Co-authored-by: anna-singleton-resolver <anna.singleton@resolver.com>
* test: add color channel functional test
* fix: streaming tests hang - add explicit aclose() to terminate gRPC stream
- Call results.aclose() before breaking from response loop to properly
terminate the async generator and underlying gRPC stream
- Update snapshot for lakeside/pexels-pixabay-210288.jpg (weight 0.9259 -> 0.9215)
- Apply same fix to examples/utils for consistency
* fix: close stream on error to prevent hanging
Add aclose() in exception handlers to ensure the gRPC stream is
terminated even when an error occurs during classification.
* Fix functional tests: session-scoped auth, skip hanging test, fix color channels
* test: reduce default streaming test image count to 50
* test: add integrator sample test set with 10 safe images
* refactor: move e2e testcases to athena-protobufs for shared use
- Move testcases/ to athena-protobufs submodule
- Add .gitattributes for LFS tracking in protobufs
- Update parser.py to load from shared location
- Remove local testcases (now in submodule)
- Fix stale PIL import from rebase conflict
* chore: update athena-protobufs with testcases documentation
* chore: update athena-protobufs with Pexels license correction
* chore: update athena-protobufs with safety clarifications
* chore: update athena-protobufs with filename fix
* fix: remove missing lakeside images and clean up exclusions list
* chore: update athena-protobufs with testcases release workflow
* chore: update athena-protobufs with workflow fix
* fix: resolve E501 line-too-long linting errors
* chore: ruff
* fix: remove invalid aclose() calls on AsyncIterator
* refactor: clean up EXCLUDED_FILENAMES constant by removing obsolete comment
* test: Remove Redundant Assertions.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* refactor: clean up EXCLUDED_FILENAMES constant by removing obsolete comment
---------
Co-authored-by: anna-singleton-resolver <anna.singleton@resolver.com>
Co-authored-by: anna <anna.singleton@crispthinking.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Robertson <stewart.robertson@kroll.com>
Co-authored-by: Will Speak <will.speak@kroll.com>
Co-authored-by: Will Speak <lithiumflame@gmail.com>1 parent cf5c312 commit ec35916
12 files changed
Lines changed: 232 additions & 6 deletions
File tree
- .vscode
- examples
- utils
- tests
- functional
- e2e
- testcases
- utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
Submodule athena-protobufs updated 117 files
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
| 231 | + | |
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
221 | 220 | | |
222 | 221 | | |
223 | 222 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
Whitespace-only changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
Whitespace-only changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
62 | 65 | | |
63 | 66 | | |
64 | 67 | | |
| |||
0 commit comments