# coding: utf-8

# PyAuDiSam: Automation of Distance Sampling analyses with Distance software (http://distancesampling.org/)

# Copyright (C) 2021 Jean-Philippe Meuret, Sylvain Sainnier

# This program is free software: you can redistribute it and/or modify it under the terms
# of the GNU General Public License as published by the Free Software Foundation,
# either version 3 of the License, or (at your option) any later version.
# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU General Public License for more details.
# You should have received a copy of the GNU General Public License along with this program.
# If not, see https://www.gnu.org/licenses/.

# Pytest configuration file for all automated unit and integration tests

import sys
import pathlib as pl


KTestSrcPath = pl.Path(__file__).parent

# Update PYTHONPATH for pyaudisam package to be importable.
sys.path.insert(0, KTestSrcPath.parent.as_posix())

# Temporary work folder.
tmpDir = KTestSrcPath / 'tmp'
tmpDir.mkdir(exist_ok=True)
