]> git.ipfire.org Git - thirdparty/patchwork.git/commit
utils: Add 'bundle_to_mbox' helper
authorStephen Finucane <stephen@that.guru>
Tue, 7 Feb 2017 11:29:59 +0000 (11:29 +0000)
committerStephen Finucane <stephen@that.guru>
Tue, 4 Apr 2017 15:24:03 +0000 (16:24 +0100)
commitabfb6a97967530d6efc248a95ddef2c9fd85efb5
tree3dbc97ffcdc8c1892383c318a7d6a5633b3f5442
parentbd99cce784e7d36dfe13bb9d7c5360d8842a7835
utils: Add 'bundle_to_mbox' helper

This includes unit tests to validate correct behavior and prevent
regressions.

Signed-off-by: Stephen Finucane <stephen@that.guru>
Reviewed-by: Daniel Axtens <dja@axtens.net>
patchwork/tests/test_bundles.py
patchwork/views/bundle.py
patchwork/views/utils.py