Commit ae35622e authored by Ambra Di Piano's avatar Ambra Di Piano
Browse files

rename test_tmp_folder fixture

parent 4743998e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -16,6 +16,6 @@ def test_conf_file():
    return join(dirname(abspath(astrort.__file__)), 'configure', 'test.yml')

@pytest.fixture(scope='function')
def astrort_tmp_folder():
def test_tmp_folder():
    makedirs(join(dirname(abspath(astrort.__file__)), 'testing', 'tmp'), exist_ok=True)
    return join(dirname(abspath(astrort.__file__)), 'testing', 'tmp')
+1 −1
Original line number Diff line number Diff line
[pytest]
markers =
    test_conf_file: test configurtion file
    astrort_tmp_folder: test tmp output folder
 No newline at end of file
    test_tmp_folder: test tmp output folder
 No newline at end of file