mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
tweak tests and add get latest version
This commit is contained in:
parent
e25fcade98
commit
383307d888
3 changed files with 41 additions and 64 deletions
|
|
@ -140,9 +140,10 @@ def test_search_string_for_openpype_version(printer):
|
|||
]
|
||||
for ver_string in strings:
|
||||
printer(f"testing {ver_string[0]} should be {ver_string[1]}")
|
||||
assert OpenPypeVersion.version_in_str(ver_string[0]) == \
|
||||
ver_string[1]
|
||||
|
||||
assert isinstance(
|
||||
OpenPypeVersion.version_in_str(ver_string[0]),
|
||||
OpenPypeVersion if ver_string[1] else type(None)
|
||||
)
|
||||
|
||||
@pytest.mark.slow
|
||||
def test_install_live_repos(fix_bootstrap, printer, monkeypatch, pytestconfig):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue