Skip to content

Commit 7fd26bd

Browse files
committed
Update tests for new class name
1 parent 0e50eda commit 7fd26bd

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tests/test_cached_settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
import tempfile
44
from pathlib import Path
55

6-
from clabe.cache_manager import CachedSettings, CacheManager, SyncStrategy
7-
from clabe.cache_manager import _DEFAULT_MAX_HISTORY
6+
from clabe.cache_manager import _DEFAULT_MAX_HISTORY, CachedSettings, CacheManager, SyncStrategy
7+
88

99
class TestCachedSettings:
1010
"""Tests for the generic CachedSettings class."""
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
import pytest
44

5-
from clabe.ui import DefaultUIHelper
5+
from clabe.ui import NativeUiHelper
66

77

88
@pytest.fixture
99
def ui_helper():
10-
return DefaultUIHelper(print_func=MagicMock())
10+
return NativeUiHelper(print_func=MagicMock())
1111

1212

13-
class TestDefaultUiHelper:
13+
class TestNativeUiHelper:
1414
@patch("builtins.input", side_effect=["Some notes"])
1515
def test_prompt_get_text(self, mock_input, ui_helper):
1616
result = ui_helper.prompt_text("")

0 commit comments

Comments
 (0)