Merge branch 'develop' into feature/OP-2053_Add-validator-to-check-correct-version-of-extension-for-PS-and-AE

This commit is contained in:
Petr Kalis 2021-12-14 15:19:53 +01:00 committed by GitHub
commit b97d79dea8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 84 additions and 28 deletions

View file

@ -68,6 +68,7 @@ class TestPublishInAfterEffects(PublishTest):
def test_db_asserts(self, dbcon, publish_finished):
"""Host and input data dependent expected results in DB."""
print("test_db_asserts")
assert 2 == dbcon.count_documents({"type": "version"}), \
"Not expected no of versions"

View file

@ -16,7 +16,10 @@ class TestPublishInPhotoshop(PhotoshopTestClass):
Always pulls and uses test data from GDrive!
Opens Photoshop, runs publish on prepared workile.
Test zip file sets 3 required env vars:
- HEADLESS_PUBLISH - this triggers publish immediately app is open
- IS_TEST - this differentiate between regular webpublish
- PYBLISH_TARGETS
Then checks content of DB (if subset, version, representations were
created.