From b2c98625897be853cbe8b87d003361a96f3cd69f Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 15 Dec 2023 14:19:40 +0100 Subject: [PATCH] formatting --- tests/test_dir_manager.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/tests/test_dir_manager.py b/tests/test_dir_manager.py index 8dd78b1..caee6fa 100644 --- a/tests/test_dir_manager.py +++ b/tests/test_dir_manager.py @@ -1,23 +1,26 @@ - import time -import pytest -from pytest_abra.dir_manager import DirManager from pathlib import Path +import pytest + +from pytest_abra.dir_manager import DirManager + + def test_get_latest_session_id_from_non_existing_dir(tmp_path: Path): out = DirManager.get_latest_session_id(tmp_path / "not_exist") assert out is None + def test_get_latest_session_id_from_empty_dir(tmp_path: Path): out = DirManager.get_latest_session_id(tmp_path) assert out is None + def test_get_latest_session_id_single(tmp_path: Path): (tmp_path / "a").mkdir() out = DirManager.get_latest_session_id(tmp_path) assert out == "a" - @pytest.mark.slow def test_get_latest_session_id(tmp_path: Path): @@ -26,5 +29,3 @@ def test_get_latest_session_id(tmp_path: Path): (tmp_path / "b").mkdir() out = DirManager.get_latest_session_id(tmp_path) assert out == "b" - - \ No newline at end of file