edit paths and descriptor tests

This commit is contained in:
Bastian Schroll 2018-01-07 23:02:04 +01:00
parent 1f6c2cba3e
commit bf6777d095
2 changed files with 2 additions and 5 deletions

View file

@ -18,10 +18,9 @@ import logging
import os
import sys
logging.debug("- %s loaded", __name__)
ROOT_PATH = os.path.dirname(sys.modules['__main__'].__file__)
ROOT_PATH = os.path.dirname(sys.modules['boswatch'].__file__).replace("\\boswatch", "").replace("\\", "/")
LOG_PATH = ROOT_PATH + "/log/"
CONFIG_PATH = ROOT_PATH + "/config/"
CSV_PATH = ROOT_PATH + "/csv/"

View file

@ -22,9 +22,7 @@ from boswatch.descriptor import descriptor
class Test_Descriptor:
"""!Unittests for the descriptor
@todo Error because path's in paths.py are false when start over pytest"""
"""!Unittests for the descriptor"""
def test_loadCSVnotExist(self):
"""!read CSV file where not exist"""