Commit 25c4372e authored by Ambra Di Piano's avatar Ambra Di Piano
Browse files

test data input forlder

parent 2108aec0
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -19,3 +19,7 @@ def test_conf_file():
def test_tmp_folder():
def test_tmp_folder():
    makedirs(join(dirname(abspath(astrort.__file__)), 'testing', 'tmp'), exist_ok=True)
    makedirs(join(dirname(abspath(astrort.__file__)), 'testing', 'tmp'), exist_ok=True)
    return join(dirname(abspath(astrort.__file__)), 'testing', 'tmp')
    return join(dirname(abspath(astrort.__file__)), 'testing', 'tmp')

@pytest.fixture(scope='function')
def test_data_folder():
    return join(dirname(abspath(astrort.__file__)), 'testing', 'data')
 No newline at end of file
+2 −1
Original line number Original line Diff line number Diff line
@@ -2,3 +2,4 @@
markers =
markers =
    test_conf_file: test configurtion file
    test_conf_file: test configurtion file
    test_tmp_folder: test tmp output folder
    test_tmp_folder: test tmp output folder
    test_data_folder: test data input folder
 No newline at end of file