I can not directly import pubmetric. I need to add 'src' to the filepath for it to import correctly
sys.path.insert(0, os.path.abspath(os.path.join(os.getcwd(), 'src')))
My temporary fix is adding a config file to the test directory which adds this to all test files imports.
I can not directly import pubmetric. I need to add 'src' to the filepath for it to import correctly
sys.path.insert(0, os.path.abspath(os.path.join(os.getcwd(), 'src')))My temporary fix is adding a config file to the test directory which adds this to all test files imports.