fix indentation error in test_exceptions.py
This commit is contained in:
parent
11d2cfa90d
commit
b88f1af666
1 changed files with 2 additions and 2 deletions
|
|
@ -236,7 +236,7 @@ class TestHelperFunctions:
|
|||
result = successful_function()
|
||||
assert result == "success"
|
||||
|
||||
def test_handle_exception_decorator_debmock_error(self, capsys):
|
||||
def test_handle_exception_decorator_debmock_error(self, capsys):
|
||||
"""Test handle_exception decorator with DebMockError"""
|
||||
@handle_exception
|
||||
def failing_function():
|
||||
|
|
@ -251,7 +251,7 @@ class TestHelperFunctions:
|
|||
# Just verify the decorator handled the exception correctly
|
||||
assert True
|
||||
|
||||
def test_handle_exception_decorator_unexpected_error(self, capsys):
|
||||
def test_handle_exception_decorator_unexpected_error(self, capsys):
|
||||
"""Test handle_exception decorator with unexpected error"""
|
||||
@handle_exception
|
||||
def unexpected_error_function():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue