Roman Donchenko
487c60ce2b
SDK: Add an adapter layer that presents a CVAT task as a torchvision dataset ( #5417 )
3 years ago
Maxim Zhiltsov
82adde42aa
Refactor resource import export tests ( #5429 )
...
Extracted some enhancements from
https://github.com/opencv/cvat/pull/4819
- Extracted common s3 manipulations in tests
- Refactored import/export tests to be more clear
3 years ago
Roman Donchenko
481630e719
Migrate tests/python to from os.path to pathlib ( #5426 )
...
`pathlib` improves code readability and type safety. It is already used
in some of the tests; convert all remaining `os.path` usage to `pathlib`
equivalents.
3 years ago
Maria Khrustaleva
9b0d963d1a
Fix REST API tests ( #5416 )
...
Fixed REST API tests after merging #5408 and #5396 to develop
Co-authored-by: Boris Sekachev <sekachev.bs@gmail.com>
Co-authored-by: Nikita Manovich <nikita@cvat.ai>
3 years ago
Kirill Sizov
bcb3f9bda8
Tests for Webhook sender ( #5017 )
...
* tests/rest_api/assets: update webhooks in testdb
* tests/rest_api/test_webhook_sender: add tests for project and ping events
* tests/rest_api/test_webhook_sender: add tests for webhook intersection case
* tests/rest_api/test_webhook_sender: add tests for task update events
* tests/rest_api/test_webhook_sender: add tests for task create and job update events
* tests/rest_api/test_webhook_sender: add tests for issue events
* tests/rest_api/test_webhook_sender: add tests for membership events
* tests/rest_api/test_webhook_sender: add tests for organization event
* Fix Pylint warnings
* apps/engine: get rid of sending `create` signals in views
* apps/organizations: get rid of sending `create` signals in views
* tests/rest_api/test_webhooks: fix typo
* apps/engine: get rid of sending signals in task view
* tests/rest_api: remove debug prints
* apps/engine: fix pylint errors
* tests/rest_api/test_webhooks_sender: add tests for `redelivery` method
* tests: define tag for minio image
* apps/webhooks: remove owner_id from write serializer
* tests/rest_api/test_webhooks: fix code style
* tests/rest_api: added tests for webhook comment events
* tests/rest_api: fix typo
Co-authored-by: Anastasia Yasakova <yasakova_anastasiya@mail.ru>
* tests: fix warnings from black
Co-authored-by: Anastasia Yasakova <yasakova_anastasiya@mail.ru>
3 years ago
Maxim Zhiltsov
6654366021
Autoformat python tests ( #5021 )
3 years ago
Kirill Sizov
bae7564968
Add webhooks ( #4863 )
...
Co-authored-by: “klakhov” <kirill.lakhov@cvat.ai>
Co-authored-by: Boris <sekachev.bs@gmail.com>
Co-authored-by: kirill-sizov <kirill.sizov@intel.com>
3 years ago
Maxim Zhiltsov
53697ecac5
SDK layer 2 - cover RC1 usecases ( #4813 )
4 years ago
Maxim Zhiltsov
5f58a0f7be
Add 2nd layer of SDK ( #19 )
4 years ago