feat: bump project version to 1.22.0
Tests / test (macos-latest, 3.10) (push) Waiting to run
Tests / test (macos-latest, 3.11) (push) Waiting to run
Tests / test (macos-latest, 3.12) (push) Waiting to run
Tests / test (windows-latest, 3.10) (push) Waiting to run
Tests / test (windows-latest, 3.11) (push) Waiting to run
Tests / test (windows-latest, 3.12) (push) Waiting to run
Lint / lint (push) Failing after 24s
Tests / test (ubuntu-latest, 3.10) (push) Failing after 43s
Tests / test (ubuntu-latest, 3.11) (push) Failing after 47s
Tests / test (ubuntu-latest, 3.12) (push) Failing after 1m10s
Tests / test (macos-latest, 3.10) (push) Waiting to run
Tests / test (macos-latest, 3.11) (push) Waiting to run
Tests / test (macos-latest, 3.12) (push) Waiting to run
Tests / test (windows-latest, 3.10) (push) Waiting to run
Tests / test (windows-latest, 3.11) (push) Waiting to run
Tests / test (windows-latest, 3.12) (push) Waiting to run
Lint / lint (push) Failing after 24s
Tests / test (ubuntu-latest, 3.10) (push) Failing after 43s
Tests / test (ubuntu-latest, 3.11) (push) Failing after 47s
Tests / test (ubuntu-latest, 3.12) (push) Failing after 1m10s
refactor: remove assistant version print fix: use "rp" instead of "pr" in tests
This commit is contained in:
@@ -20,7 +20,7 @@ class TestLogging:
|
||||
result = setup_logging(verbose=False)
|
||||
|
||||
mock_makedirs.assert_called_once_with("/tmp/logs", exist_ok=True)
|
||||
mock_get_logger.assert_called_once_with("pr")
|
||||
mock_get_logger.assert_called_once_with("rp")
|
||||
mock_logger.setLevel.assert_called_once_with(20) # INFO level
|
||||
mock_handler.assert_called_once()
|
||||
assert result == mock_logger
|
||||
@@ -49,7 +49,7 @@ class TestLogging:
|
||||
result = setup_logging(verbose=True)
|
||||
|
||||
mock_makedirs.assert_not_called()
|
||||
mock_get_logger.assert_called_once_with("pr")
|
||||
mock_get_logger.assert_called_once_with("rp")
|
||||
mock_logger.setLevel.assert_called_once_with(10) # DEBUG level
|
||||
mock_logger.handlers.clear.assert_called_once()
|
||||
mock_file_handler.assert_called_once()
|
||||
@@ -63,7 +63,7 @@ class TestLogging:
|
||||
|
||||
result = get_logger()
|
||||
|
||||
mock_get_logger.assert_called_once_with("pr")
|
||||
mock_get_logger.assert_called_once_with("rp")
|
||||
assert result == mock_logger
|
||||
|
||||
@patch("rp.core.logging.logging.getLogger")
|
||||
|
||||
Reference in New Issue
Block a user