From 980a7ed77cd64704e1c4deafa944a88264f0a9ee Mon Sep 17 00:00:00 2001 From: Mark Jordan Date: Tue, 13 Aug 2024 06:55:25 -0700 Subject: [PATCH] Tweaked unit test for extension to MIME type mapping. --- tests/unit_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit_tests.py b/tests/unit_tests.py index 9032fa0..cbecbb5 100644 --- a/tests/unit_tests.py +++ b/tests/unit_tests.py @@ -1582,7 +1582,7 @@ def test_mimeypes_from_extensions_lazy(self): def test_mimeypes_from_extensions_with_configs(self): extensions_to_mimetypes = collections.OrderedDict() extensions_to_mimetypes["txt"] = "foo/bar" - extensions_to_mimetypes["xml"] = "foo/xml" + extensions_to_mimetypes[".xml"] = "foo/xml" config = {"input_dir": ".", "extensions_to_mimetypes": extensions_to_mimetypes} fixtures = [ {