Commit d6dc0238 authored by Adrian DC's avatar Adrian DC
Browse files

chore: coverage: resolve coverage issues for SonarCloud analysis

parent 99f9abf5
Loading
Loading
Loading
Loading
Loading
+1 −1
Changes for gitlabci_local/engines/interface.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
from abc import ABC, abstractmethod

# Interface class
class Interface(ABC):
class Interface(ABC): # pragma: no cover

    # Command exec
    @abstractmethod
+5 −3
Changes for gitlabci_local/features/menus.py: 5 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -76,11 +76,13 @@ class MenusFeature:
            if stage != self.__jobs[job]['stage']:
                stage = self.__jobs[job]['stage']

                # PyInquirer missing
                if not PYINQUIRER_AVAILABLE: # pragma: no cover
                    jobs_choices += [f'\n Stage {stage}:']

                # PyInquirer features
                if PYINQUIRER_AVAILABLE:
                    jobs_choices += [PyInquirer_Separator(f'\n Stage {stage}:')]
                else:
                    jobs_choices += [f'\n Stage {stage}:']
                    jobs_choices += [PyInquirer_Separator(f'\n Stage {stage}:')]

            # Initial job details
            job_details = ''