Coverage for sherlock/commonutils/getpackagepath.py: 50%
6 statements
« prev ^ index » next coverage.py v7.2.2, created at 2023-10-10 13:58 +0000
« prev ^ index » next coverage.py v7.2.2, created at 2023-10-10 13:58 +0000
1#!/usr/local/bin/python
2# encoding: utf-8
3"""
4*Get common file and folder paths for the host package - used in unit testing code*
6:Author:
7 David Young
8"""
9import os
11def getpackagepath():
12 """
13 *Get the root path for this python package - used in unit testing code*
14 """
15 moduleDirectory = os.path.dirname(__file__)
16 packagePath = os.path.dirname(__file__) + "/../"
18 return packagePath