dda-devops-build/src/main/python/ddadevops/release-mixin/test/test_infrastructure_api.py

21 lines
496 B
Python
Raw Normal View History

2023-02-24 10:39:38 +00:00
from pathlib import Path
import sys
import os
# getting the name of the directory
# where the this file is present.
current = os.path.dirname(os.path.realpath(__file__))
# Getting the parent directory name
# where the current directory is present.
parent = os.path.dirname(current)
# adding the parent directory to
# the sys.path.
sys.path.append(parent)
# now we can import the module in the parent
# directory.
2023-03-02 17:16:03 +00:00
from infrastructure_api import GitApi # todo: implement from services example