mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2025-12-06 07:12:04 +01:00
edit paths and descriptor tests
This commit is contained in:
parent
1f6c2cba3e
commit
bf6777d095
|
|
@ -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/"
|
||||
|
|
|
|||
|
|
@ -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"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue