Skip to content

Commit b931742

Browse files
committed
refactor: Bump test helpers for libtmux 0.45.0
1 parent 9cc7274 commit b931742

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

conftest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
import pytest
2020
from _pytest.doctest import DoctestItem
21-
from libtmux.test import namer
21+
from libtmux.test.random import namer
2222

2323
from tests.fixtures import utils as test_utils
2424
from tmuxp.workspace.finders import get_workspace_dir

tests/tests/test_helpers.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
import typing as t
66

77
import pytest
8-
from libtmux.test import get_test_session_name, temp_session
8+
from libtmux.test.random import get_test_session_name
9+
from libtmux.test.temporary import temp_session
910

1011
if t.TYPE_CHECKING:
1112
from libtmux.server import Server

tests/workspace/test_builder.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
from libtmux.exc import LibTmuxException
1717
from libtmux.pane import Pane
1818
from libtmux.session import Session
19-
from libtmux.test import retry_until, temp_session
19+
from libtmux.test.retry import retry_until
20+
from libtmux.test.temporary import temp_session
2021
from libtmux.window import Window
2122

2223
from tests.constants import EXAMPLE_PATH, FIXTURE_PATH

0 commit comments

Comments
 (0)