aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_flow.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_flow.py')
-rw-r--r--test/test_flow.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_flow.py b/test/test_flow.py
index 59d130f7..89577ddb 100644
--- a/test/test_flow.py
+++ b/test/test_flow.py
@@ -1052,6 +1052,12 @@ class TestODictCaseless:
def setUp(self):
self.od = flow.ODictCaseless()
+ def test_override(self):
+ o = flow.ODictCaseless()
+ o.add('T', 'application/x-www-form-urlencoded; charset=UTF-8')
+ o["T"] = ["foo"]
+ assert o["T"] == ["foo"]
+
def test_case_preservation(self):
self.od["Foo"] = ["1"]
assert "foo" in self.od