From ccf643a9f947e008ed831acac3f2455e317f9030 Mon Sep 17 00:00:00 2001 From: Eric Torres Date: Sun, 20 Feb 2022 21:36:19 -0800 Subject: [PATCH] tests/test_fzf: add test for raising FZFError --- tests/test_fzf.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/test_fzf.py b/tests/test_fzf.py index 1e82c57..d04975b 100644 --- a/tests/test_fzf.py +++ b/tests/test_fzf.py @@ -43,3 +43,10 @@ class TestFZFErrors(unittest.TestCase): def tearDown(self): patch.stopall() + + +class TestFZFErrorClass(unittest.TestCase): + def test_class_repr(self): + f = fzf.FZFError(1) + f + str(f)