Commit graph

234 commits

Author SHA1 Message Date
Petr Kalis
ff19ae0385
Added setup_only to tests (#4591)
Allows to download test zip, unzip and restore DB in preparation for new test.
2023-03-13 15:37:23 +01:00
Petr Kalis
6704ba1531 OP-4850 - fix AE multicomposition
3 subsets >> 3 versions
2023-01-31 18:35:36 +01:00
Petr Kalis
148c55361f OP-4850 - fix AE tests
'png' extension have 2 representations instead 1. (One is regular, one is from review, with name 'png_png'
2023-01-31 18:06:44 +01:00
Jakub Jezek
37dc18b837
hound comments 2023-01-25 15:55:03 +01:00
Jakub Jezek
3d4d63bd08
flake8 fixes 2023-01-17 14:47:54 +01:00
Jakub Jezek
29d51b0209
testing: updating test data to colorspace 2023-01-13 13:19:53 +01:00
Jakub Jezek
54f04dd7de
testing: refactor set_representation_colorspace to address new inputs 2023-01-11 17:32:11 +01:00
Jakub Jezek
e13a99782f
testing: updating to new gdrive data 2023-01-05 17:20:09 +01:00
Jakub Jezek
f2a9169ffd
testing: publish plugins finalisation 2023-01-05 17:16:42 +01:00
Jakub Jezek
70b2df5fff
testing: adding publish plugins tests 2023-01-04 21:32:59 +01:00
Jakub Jezek
a429352964
testing: abstracting legacy_io fixture to lib for other pipeline tests 2023-01-04 21:32:40 +01:00
Jakub Jezek
c87b147d48
testing: removing prints form colorspace tests 2023-01-04 16:06:46 +01:00
Jakub Jezek
14b52ac625
testing: colorspace legacy_io fixture 2023-01-04 13:54:08 +01:00
Jakub Jezek
233808f1ee
testing: fixing relation of fixture 2023-01-04 13:53:41 +01:00
Jakub Jezek
4518d57543
testing: colorspace update 2023-01-04 13:46:51 +01:00
Petr Kalis
7e73aba4ae Move setting of project root to dbcon fixture
Previously root was only set for launched app, it should be available also for unit tests.
2023-01-04 11:52:07 +01:00
Jakub Jezek
ff9edbdc26
testing: improving test module unit test class 2023-01-03 22:04:02 +01:00
Jakub Jezek
f40495ebbf
testing: colorspace test file rules 2023-01-03 22:02:49 +01:00
Jakub Jezek
4d24aa6984
testing: colorspace legacy_io to fixture 2023-01-03 21:19:21 +01:00
Jakub Jezek
e36b441426
testing: improving colorspace 2023-01-03 20:53:33 +01:00
Petr Kalis
05a11f642b Bumped log higher
It is better to have it earlier because of possible errors during downloading
2023-01-03 13:41:40 +01:00
Jakub Jezek
72cb5ae754
testing: pipeline colorspace get views 2022-12-30 20:48:43 +01:00
Jakub Jezek
56aca63056
testing: adding basic colorspace testing 2022-12-30 16:54:45 +01:00
Petr Kalis
492e5bbd03 Merge develop 2022-12-08 11:21:38 +01:00
Petr Kalis
e2ec1457c9 Fix Nuke legacy test
Legacy Nuke tests are not cleaning up `renders` folders. Branch with DL version disables Cleanup for now.
2022-12-02 16:35:04 +01:00
Petr Kalis
1fcc15583c Fix AE legacy test 2022-12-02 16:31:56 +01:00
Petr Kalis
e68ad503e7 Remove temporarily AE tests configured for Tray Publisher 2022-12-02 16:07:47 +01:00
Petr Kalis
5207387352 Added AE test with old stored instances
Release 3.15 will move to New Publisher
2022-12-02 16:07:04 +01:00
Petr Kalis
bf58eb8322 Hound 2022-12-02 16:04:10 +01:00
Petr Kalis
412d03d382 Merge fixes for tests from branch with Deadline tests.
Branch with newly implemented DL tests is targetted to release 3.15, but changes from it affects tests in develop.
This branch should solve issues with automatic tests in develop without need of full release 3.15 changes.
2022-12-02 15:52:04 +01:00
Petr Kalis
02b7c64491 OP-3426 - fix expected count of representation
This changed as default for single frame is png, not mp4 now.
2022-11-21 17:12:39 +01:00
Petr Kalis
bd5e8285e9 OP-3426 - added legacy publish in AE
Instances creaed in Publisher are not working in old Pyblish, but old instances should be publishable automatically.
2022-11-21 14:01:46 +01:00
Petr Kalis
a20c102b85 OP-3426 - fix check for failed test
If fixture fails before test is finished, there is no `rep_call` method, this way it should be more safe.
2022-11-21 13:13:27 +01:00
Petr Kalis
2dfb34bfae Merge remote-tracking branch 'origin/feature/OP-3426_Add-support-for-Deadline-for-automatic-tests' into feature/OP-3426_Add-support-for-Deadline-for-automatic-tests 2022-11-14 17:37:13 +01:00
Petr Kalis
7f166ddf3f OP-3426 - fix AE tests
ExtractReview for single frames was merged, therefore it is expected, that only png representation is expected.
2022-11-14 17:36:22 +01:00
Petr Kalis
41f4c3981b
Merge branch 'release/3.15.x' into feature/OP-3426_Add-support-for-Deadline-for-automatic-tests 2022-11-11 19:32:08 +01:00
Petr Kalis
40d2571487 OP-3426 - added test job for multi composition in AE in DL
Depends on OP-4361
2022-11-11 19:30:05 +01:00
Petr Kalis
de2bd09a40 OP-3426 - remove failed class variable
Didn't work properly, correct way is to use request fixture.
2022-11-11 19:23:55 +01:00
Petr Kalis
0c9c9c40b8 OP-3426 - remove not working set of failed 2022-11-11 19:21:52 +01:00
Petr Kalis
51db29319a OP-3426 - allow multiple render deadline jobs
Waits for publish job of last created one.
2022-11-11 19:20:49 +01:00
Petr Kalis
a48c76b003 OP-3426 - set failed when assertion error
Failed is used to persist errrored run.
2022-11-11 18:21:33 +01:00
Petr Kalis
130e00e195 OP-3426 - fix files filtering
Filter both expected and published folders and skip temporary files.
Temporary files might be pulled into expected folder when directly copying result of one test run to source zip file.
2022-11-11 16:48:17 +01:00
Petr Kalis
81a3cba025 OP-4361 - cleaned up AE tests 2022-11-11 16:42:30 +01:00
Petr Kalis
b3c79c447e OP-3426 - fix - use failed as class variable
failed must be used as class variable. Test classes cannot have __init__, so this weird approach used for now.
2022-11-08 11:52:58 +01:00
Petr Kalis
e5a604d58f OP-3426 - fix - failed class variable wasn't changed
Pytest classes cannot have __init__, so this ugly way is implemented for now to keep flag of failure to check before teardown.
Marking all class variables didn't work for some reason.
2022-11-07 18:20:12 +01:00
Petr Kalis
350685b4c6 OP-3426 - changed APP to APP_GROUP
APP_GROUP is more descriptive
2022-11-04 18:08:01 +01:00
Petr Kalis
fc99a9a35e OP-3426 - raise better exception if mongorestore not found 2022-11-04 15:32:45 +01:00
Petr Kalis
5c34fcb223 OP-3426 - added requirements for mongodump in readme 2022-11-04 15:27:31 +01:00
Petr Kalis
b0f0644fcc OP-3426 - updated skeleton source zip file 2022-11-03 16:53:59 +01:00
Petr Kalis
381ea92477 OP-3426 - fix subset name in Nuke 2022-10-27 15:57:41 +02:00