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
Jakub Jezek
233808f1ee
testing: fixing relation of fixture
2023-01-04 13:53:41 +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
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
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
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
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
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
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
c68f5f45d8
OP-3426 - Hound
2022-10-25 18:52:52 +02:00
Petr Kalis
2ed190cdfd
OP-3426 - remove unwanted uncommenting
2022-10-25 18:51:09 +02:00
Petr Kalis
dab37abea9
OP-3426 - updated filtering logic
2022-10-25 11:40:00 +02:00
Petr Kalis
d35ea96bd0
OP-3426 - added filtering of published folders from comparing
...
Some files or folders are dynamically created and cannot be part of comparing of published and expected folder structure.
(Example is Logs in AE from DL)
2022-10-24 11:52:08 +02:00
Petr Kalis
127a0dcb1f
OP-3426 - refactor - use class variable
2022-10-21 16:46:11 +02:00
Petr Kalis
7e6c355fea
OP-3426 - purge temp only if not error
2022-10-20 18:10:48 +02:00
Petr Kalis
b996acaf9c
OP-3426 - disable unwanted commands
...
Enabling only for test preparation.
Updated test_db to currently used avalon_tests
2022-10-19 15:44:50 +02:00
Petr Kalis
f501c63369
OP-3426 - propagate automatic_tests for publish process on DL
2022-10-19 15:42:34 +02:00
Petr Kalis
5a885ac2a7
OP-3426 - changed source DBs
...
It might be better to enhance testing DBs with _tests suffix and control it with single argument (or env var).
2022-10-19 13:50:41 +02:00
Petr Kalis
29ca3f8556
OP-4180 - change output folder
...
It should be in `output` subfolder, not in root
2022-10-19 12:30:03 +02:00
Petr Kalis
a45218d48a
OP-3426 - fix proper id for publish job
...
It should wait for publish job, not rendering jobs.
2022-10-17 14:03:57 +02:00
Petr Kalis
abe5e24309
OP-3426 - fix check if job is finished
2022-10-17 13:49:20 +02:00
Petr Kalis
d5e62039a7
OP-3426 - wait for DL publish job
2022-10-14 19:26:21 +02:00
Petr Kalis
be51b3d977
OP-3426 - fix not dropping settings collection
2022-10-14 17:20:22 +02:00
Petr Kalis
e3864ead41
OP-3426 - DL support for Maya automatic tests
...
WIP
2022-10-14 15:21:25 +02:00
Petr Kalis
b116cbf885
Fix - broken import
2022-10-04 09:53:23 +02:00
Petr Kalis
8d66933fb6
Merge pull request #3646 from pypeclub/feature/OP-3682_Addons-distribution
...
Backend: Implementation of addon deployment logic
2022-09-23 13:11:53 +02:00
Jakub Trllo
5736fa2382
fix testing classes
2022-08-26 16:07:16 +02:00
Petr Kalis
98444762cd
OP-3682 - moved file_handler
2022-08-11 17:27:14 +02:00
Petr Kalis
27125a1088
OP-3682 - extract file_handler from tests
...
Addon distribution could use already implemented methods for dowloading from HTTP (GDrive urls).
2022-08-11 12:02:55 +02:00
Petr Kalis
d0ac6bc9b0
OP-3684 - Hound
2022-08-03 15:08:13 +02:00
Petr Kalis
0761ba4bc3
OP-3684 - fix output compare for automatic testing
2022-08-03 13:34:24 +02:00
Roy Nieterau
c608eeb262
Remove remaining imports from avalon
2022-05-02 21:35:09 +02:00
Petr Kalis
76d50cf6aa
Fixed unwanted pop
...
Counted without type.
2022-04-20 11:45:39 +02:00
Petr Kalis
e93fb7f4f3
Removed obsolete openpype.install
2022-04-20 11:45:00 +02:00
Petr Kalis
77d017bae2
Updated assert message for comparing results
2022-04-05 11:06:26 +02:00
Petr Kalis
c6805d5b5a
Added timeout to command line arguments
2022-02-16 18:08:15 +01:00
Petr Kalis
037b514409
Added print of more detailed message
2022-02-14 20:04:07 +01:00
Petr Kalis
daa8eb532a
OP-2042 - fix tested output path
2021-12-13 11:49:19 +01:00
Petr Kalis
ec15b482db
OP-2042 - added additional class wrapper per host
2021-12-10 17:25:37 +01:00
Petr Kalis
c754521d0a
OP-2042 - added new handling of asserts
...
Added DBAssert class which wraps standard use cases for asserts
2021-12-10 16:40:23 +01:00
Petr Kalis
9a0d55e2f3
OP-2042 - added new fixture output_folder_url
...
Explicitly sets directory of published files. (Purges them if exist!)
2021-12-10 15:08:13 +01:00
Petr Kalis
6e9c9c087c
OP-2042 - adding persist, app_variant to cli
2021-12-10 15:07:04 +01:00
Petr Kalis
00d9681d56
OP-2042 - better cleanup of test DBs before start of test
2021-12-10 13:48:12 +01:00
Petr Kalis
2f2116b4bd
OP-2042 - added test_data_folder to command line
2021-12-09 18:33:48 +01:00
Petr Kalis
a3638ef70f
OP-2042 - injection of TEST_SOURCE_FOLDER
...
It tells Nuke where it should locate test input data
2021-12-08 18:12:01 +01:00
Petr Kalis
709d0ee625
OP-2042 - reset connection to openpype DB
2021-12-07 11:02:16 +01:00