feat: add support for --comment CLI param, to set versioning comment
only relevant if Wutta-Continuum is enabled
This commit is contained in:
parent
6ee008e169
commit
e397890098
7 changed files with 49 additions and 38 deletions
|
|
@ -198,6 +198,14 @@ class TestImportHandler(DataTestCase):
|
|||
self.assertNotIn("runas_username", kw)
|
||||
self.assertEqual(handler.runas_username, "fred")
|
||||
|
||||
# transaction_comment (consumed)
|
||||
self.assertIsNone(handler.transaction_comment)
|
||||
kw["transaction_comment"] = "hello world"
|
||||
result = handler.consume_kwargs(kw)
|
||||
self.assertIs(result, kw)
|
||||
self.assertNotIn("transaction_comment", kw)
|
||||
self.assertEqual(handler.transaction_comment, "hello world")
|
||||
|
||||
def test_define_importers(self):
|
||||
handler = self.make_handler()
|
||||
importers = handler.define_importers()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue