tests/test_fzf: add test for raising FZFError
This commit is contained in:
parent
20f43d5dc7
commit
ccf643a9f9
@ -43,3 +43,10 @@ class TestFZFErrors(unittest.TestCase):
|
|||||||
|
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
patch.stopall()
|
patch.stopall()
|
||||||
|
|
||||||
|
|
||||||
|
class TestFZFErrorClass(unittest.TestCase):
|
||||||
|
def test_class_repr(self):
|
||||||
|
f = fzf.FZFError(1)
|
||||||
|
f
|
||||||
|
str(f)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user