* EventCallback object have order
* callbacks are processed by the callback order
* safer approach to get function information
* modified docstring a little
* added tests for ordered calbacks
* fix python 2 support
* added support for partial methods
* removed unused '_get_func_info'
* formatting fix
* change test functions docstring
* added test for removement of source function when partial is used
* Allow order 'None'
* implemented 'weakref_partial' to allow partial callbacks
* minor tweaks
* added support to pass additional arguments to 'wearkref_partial'
* modify docstring
* added 'weakref_partial' to tests
* move public method before prive methods
* added required order back but use '100' as default order
* fix typo
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
---------
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
* Release job from pending when testing.
* Removed render instance
This test was created as simple model and workfile publish, without Deadline rendering. Cleaned up render elements.
* Revert changes in submit publish plugin
---------
Co-authored-by: kalisp <petr.kalis@gmail.com>
* Updates to tests because of default Thumbnail non integration
Some previous PR changed default behavior of Thumbnail, they are not integrated anymore. Tests were expecting they are.
Change in AE local render is required to match behavior and provide Colorspace handling.
* Updates to tests because of default Thumbnail non integration
Missed values
* Updates to tests because of default Thumbnail non integration
Missed values
* dump_databases flag
* Remove wrongly placed code.
* Turn flag into format and support json export.
* Added new argument to readme
---------
Co-authored-by: kalisp <petr.kalis@gmail.com>
* Ingest input workfile
* Ingest input workfile
* Ingested expected files, workfile
Implemented LocalFileHandler.
Test name added to structure to separate files for each test.
Removed superfluous `files` to keep other Maya test working
* Missing time import
* Hound
* Skip directories when checking folder structure.
* Update tests/lib/testing_classes.py
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
* Updated integration tests documentation
* Ingested test files for Deadline test in maya
* Removed unneeded files
* Refactored name
---------
Co-authored-by: kalisp <petr.kalis@gmail.com>
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
* Working version
* Improve launched app communication
* Move imports to methods.
* Update tests/integration/hosts/maya/test_publish_in_maya.py
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
* Collect errors from process
* fix startup scripts arguments
* Update openpype/lib/applications.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
* Fix application polling
* Docstring
* Revert stdout and stderr
* Revert subprocess.PIPE
* Added missed imports
If we are moving these because of testing, lets move all of them
---------
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
Co-authored-by: kalisp <petr.kalis@gmail.com>
* OP-7031 - fix thumbnail outputName
This handles situation when ExtractReviewDataMov has multiple outputs for which are thumbnails created. This would cause an issue in integrate if thumbnail repre should be integrated.
* thumbnail name the same as output name
- added `delete` tag so it is not integrated
- adding output preset name to thumb name if multiple bake streams
- adding thumbnails to explicit cleanup paths
- thumbnail file name inherited from representation name
* hound
* comment for py compatibility of unicode
* Update openpype/hosts/nuke/plugins/publish/extract_thumbnail.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
* thumbnail path key should be `thumbnailPath`
* Updates to nuke automatic test
Default changed to NOT integrating thumbnail representation.
* Update openpype/hosts/nuke/plugins/publish/extract_thumbnail.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
* OP-7031 - updated check for thumbnail representation
To allow use this plugin as 'name' might not contain only 'thumbnail' for multiple outputs.
* Remove possibility of double _
* Implement possibility of multiple thumbnails
This could happen if there are multiple output as in Nuke's ExtractREviewMov
---------
Co-authored-by: Jakub Jezek <jakubjezek001@gmail.com>
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
- improving unittests
- adding unittest for `convert_colorspace_enumerator_item`
- separating `config_items` from `get_colorspaces_enumerator_items` so they can be stored in context
* Add openpype_mongo command flag for testing.
* Revert back to TEST_OPENPYPE_MONGO
TEST_OPENPYPE_MONGO is placeholder used in all source test sip in `input/env_vars/env_var` not a env variable itself
* Fix openpype_mongo fixture
Fixture decorator was missing.
If value passed from command line should be used, it must come first as `env_var` fixture should already contain valid default Mongo uri.
* Renamed command line argument to mongo_url
---------
Co-authored-by: kalisp <petr.kalis@gmail.com>