mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix testing classes
This commit is contained in:
parent
6801a719d3
commit
5736fa2382
1 changed files with 5 additions and 4 deletions
|
|
@ -12,8 +12,6 @@ import platform
|
|||
from tests.lib.db_handler import DBHandler
|
||||
from tests.lib.file_handler import RemoteFileHandler
|
||||
|
||||
from openpype.lib.remote_publish import find_variant_key
|
||||
|
||||
|
||||
class BaseTest:
|
||||
"""Empty base test class"""
|
||||
|
|
@ -210,7 +208,10 @@ class PublishTest(ModuleUnitTest):
|
|||
|
||||
application_manager = ApplicationManager()
|
||||
if not app_variant:
|
||||
app_variant = find_variant_key(application_manager, self.APP)
|
||||
variant = (
|
||||
application_manager.find_latest_available_variant_for_group(
|
||||
self.APP))
|
||||
app_variant = variant.name
|
||||
|
||||
yield "{}/{}".format(self.APP, app_variant)
|
||||
|
||||
|
|
@ -342,4 +343,4 @@ class HostFixtures(PublishTest):
|
|||
@pytest.fixture(scope="module")
|
||||
def startup_scripts(self, monkeypatch_session, download_test_data):
|
||||
""""Adds init scripts (like userSetup) to expected location"""
|
||||
raise NotImplementedError
|
||||
raise NotImplementedError
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue