]> git.madduck.net Git - etc/neomutt.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

buildhtmltree.py: It's mp/relative not /related
authormartin f. krafft <madduck@madduck.net>
Tue, 22 Aug 2023 11:58:52 +0000 (23:58 +1200)
committermartin f. krafft <madduck@madduck.net>
Tue, 22 Aug 2023 11:58:52 +0000 (23:58 +1200)
.config/neomutt/buildmimetree.py

index c0d636424ca5895d673493891192016b623808b7..83cbe4d204beb515ae6018716b093c0e408ca794 100755 (executable)
@@ -485,7 +485,7 @@ try:
         @pytest.fixture
         def basic_mime_tree(self):
             return Multipart(
-                "related",
+                "relative",
                 children=[
                     Multipart(
                         "alternative",
@@ -520,7 +520,7 @@ try:
             assert items[2][1] == 1
             assert items[3][0].subtype == "png"
             assert items[3][1] == 1
-            assert items[4][0].subtype == "related"
+            assert items[4][0].subtype == "relative"
             assert items[4][1] == 0
 
         def test_MIMETreeDFWalker_list_to_mixed(self, basic_mime_tree):