Commit 2e23fa3b authored by Ambra Di Piano's avatar Ambra Di Piano
Browse files

add tmp dir

parent f52c2d54
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -9,7 +9,13 @@
import pytest
import astrort
from os.path import join, dirname, abspath
from os import makedirs

@pytest.fixture(scope='function')
def rtadeep_configuration():
    return join(dirname(abspath(astrort.__file__)), 'cfg', 'test.yml')
 No newline at end of file
def astrort_configuration():
    return join(dirname(abspath(astrort.__file__)), 'configure', 'test.yml')

@pytest.fixture(scope='function')
def astrort_tmp_folder():
    makedirs(join(dirname(abspath(astrort.__file__)), 'testing', 'tmp'), exist_ok=True)
    return join(dirname(abspath(astrort.__file__)), 'testing', 'tmp')