diff options
| author | Barry Warsaw | 2015-12-16 10:38:04 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2015-12-16 14:52:56 -0500 |
| commit | ff84c2bb24555d4ae6276b1dca7071b440172bdb (patch) | |
| tree | 116baf4b4c5663efea47346bd7e67c6e3e18d997 /src/mailman/database/tests/test_migrations.py | |
| parent | b414461832e4da232096904f2630b07a8caf6b15 (diff) | |
| download | mailman-ff84c2bb24555d4ae6276b1dca7071b440172bdb.tar.gz mailman-ff84c2bb24555d4ae6276b1dca7071b440172bdb.tar.zst mailman-ff84c2bb24555d4ae6276b1dca7071b440172bdb.zip | |
Diffstat (limited to 'src/mailman/database/tests/test_migrations.py')
| -rw-r--r-- | src/mailman/database/tests/test_migrations.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mailman/database/tests/test_migrations.py b/src/mailman/database/tests/test_migrations.py index f446213e5..823c94652 100644 --- a/src/mailman/database/tests/test_migrations.py +++ b/src/mailman/database/tests/test_migrations.py @@ -109,6 +109,7 @@ class TestMigrations(unittest.TestCase): # - one is a moderation request # - one is a held message # - one is a registration request in the new format + # # The first three used to have no 'type' key and must be properly # typed, the held message used to have a type key, but in JSON, and # must be converted. @@ -144,7 +145,8 @@ class TestMigrations(unittest.TestCase): config.db.store.execute(keyvalue_table.insert().values([ {'pended_id': 1, 'key': 'member_id', 'value': 'test-value'}, {'pended_id': 2, 'key': 'token_owner', 'value': 'test-value'}, - {'pended_id': 3, 'key': '_mod_message_id', 'value': 'test-value'}, + {'pended_id': 3, 'key': '_mod_message_id', + 'value': 'test-value'}, {'pended_id': 4, 'key': 'type', 'value': '"held message"'}, {'pended_id': 5, 'key': 'type', 'value': 'registration'}, ])) |
