summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2022-05-08 10:28:50 +0200
committerFlorian Bruhin <me@the-compiler.org>2022-06-22 17:41:11 +0200
commit9854cc7922226ea68f011f7c81c4f91bc962a85b (patch)
tree58f3bdce850b44fb04c9e992ced618de8b332cda
parent35e580299f26aa0a6f995c23aa0f2503090ff9d6 (diff)
downloadqutebrowser-9854cc7922226ea68f011f7c81c4f91bc962a85b.tar.gz
qutebrowser-9854cc7922226ea68f011f7c81c4f91bc962a85b.zip
tests: Fix test_from_str_hypothesis for FlagList
TODO: cherry-pick to master
-rw-r--r--tests/unit/config/test_configtypes.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/config/test_configtypes.py b/tests/unit/config/test_configtypes.py
index e1edb2dc5..e5d66eeaa 100644
--- a/tests/unit/config/test_configtypes.py
+++ b/tests/unit/config/test_configtypes.py
@@ -250,7 +250,8 @@ class TestAll:
]:
return
elif (isinstance(klass, functools.partial) and klass.func in [
- configtypes.ListOrValue, configtypes.List, configtypes.Dict]):
+ configtypes.ListOrValue, configtypes.FlagList, configtypes.List,
+ configtypes.Dict]):
# ListOrValue: "- /" -> "/"
# List: "- /" -> ["/"]
# Dict: '{":": "A"}' -> ':: A'