Use proper paths for resources instead of relative paths in tests. For example, ```py cwd = os.path.abspath(os.path.dirname(__file__)) resource_dir = os.path.join(cwd, '../resources') target_dir = os.path.join(cwd, '../target') ```