OP-2019 - added IS_TEST env var

Used to differentiate between regular REMOTE_PUBLISH and automatic tests
This commit is contained in:
Petr Kalis 2021-11-18 18:07:07 +01:00
parent 04fd46f9e9
commit 1369098454

View file

@ -57,6 +57,7 @@ class TestPublishInPhotoshop(PublishTest):
def startup_scripts(self, monkeypatch_session, download_test_data):
"""Points Maya to userSetup file from input data"""
os.environ["IS_HEADLESS"] = "true"
os.environ["IS_TEST"] = "true"
def test_db_asserts(self, dbcon, publish_finished):
"""Host and input data dependent expected results in DB."""