Skip to content

Commit

Permalink
chore: fix no test scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
makkus committed Apr 23, 2024
1 parent 537449c commit bd55a46
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
from pathlib import Path

import pytest
from _pytest.compat import NotSetType

from kiara.context import KiaraConfig
from kiara.api import KiaraAPI, JobDesc
Expand All @@ -35,6 +36,10 @@ def create_temp_dir():
return instance_path

def get_job_alias(job_desc: JobDesc) -> str:

if isinstance(job_desc, NotSetType):
return "-- no example jobs --"

return job_desc.job_alias

@pytest.fixture
Expand Down

0 comments on commit bd55a46

Please sign in to comment.