summaryrefslogtreecommitdiff
path: root/src/mailman/testing
diff options
context:
space:
mode:
authorBarry Warsaw2012-07-23 10:40:53 -0400
committerBarry Warsaw2012-07-23 10:40:53 -0400
commit5598b9eea196e4085aa91aaf8a0cacaffa200355 (patch)
treed3685e9c193705ecee93bc573af960daff874e9e /src/mailman/testing
parentb2e4c6502c5ff4cdf9488be17556a6d39bbbde6b (diff)
downloadmailman-5598b9eea196e4085aa91aaf8a0cacaffa200355.tar.gz
mailman-5598b9eea196e4085aa91aaf8a0cacaffa200355.tar.zst
mailman-5598b9eea196e4085aa91aaf8a0cacaffa200355.zip
Checkpointing Postgres port of test suite.
- Refactor load_schema() into a separate load_sql() method. - Add API for test suite to make a temporary database. - Add code to migrate the PostgreSQL database. - Comment out `moderation_callback` from the PostgreSQL SQL; this must have snuck in accidentally via the contributed port. - Refactor test_migrations.py
Diffstat (limited to 'src/mailman/testing')
-rw-r--r--src/mailman/testing/testing.cfg6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mailman/testing/testing.cfg b/src/mailman/testing/testing.cfg
index 5f19dca14..0be01298b 100644
--- a/src/mailman/testing/testing.cfg
+++ b/src/mailman/testing/testing.cfg
@@ -18,9 +18,9 @@
# A testing configuration.
# For testing against PostgreSQL.
-#[database]
-#class: mailman.database.postgresql.PostgreSQLDatabase
-#url: postgres://barry:barry@localhost/mailman
+[database]
+class: mailman.database.postgresql.PostgreSQLDatabase
+url: postgres://barry:barry@localhost/mailman
[mailman]
site_owner: noreply@example.com