diff options
author | Jay Kamat <jaygkamat@gmail.com> | 2019-04-02 21:27:39 -0700 |
---|---|---|
committer | Jay Kamat <jaygkamat@gmail.com> | 2019-04-02 21:35:32 -0700 |
commit | 32802651dab296c53d4f41632038b948535a4b19 (patch) | |
tree | ccb8203b503576257aef0fb126c1822e9eee4772 /tests/unit/browser/test_history.py | |
parent | eb9c1226af4281eb5bde0ce74ff908a7aeef01ef (diff) | |
download | qutebrowser-32802651dab296c53d4f41632038b948535a4b19.tar.gz qutebrowser-32802651dab296c53d4f41632038b948535a4b19.zip |
Refactor LongQueryError and EnvironmentError into KnownError
- Also generalize catch on histcategory sql query to fix #4687
Diffstat (limited to 'tests/unit/browser/test_history.py')
-rw-r--r-- | tests/unit/browser/test_history.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/browser/test_history.py b/tests/unit/browser/test_history.py index 95edb5d41..03b3292b6 100644 --- a/tests/unit/browser/test_history.py +++ b/tests/unit/browser/test_history.py @@ -189,7 +189,7 @@ class TestAdd: environmental, completion): def raise_error(url, replace=False): if environmental: - raise sql.SqlEnvironmentError("Error message") + raise sql.SqlKnownError("Error message") raise sql.SqlBugError("Error message") if completion: |