diff options
| author | Barry Warsaw | 2012-07-23 10:40:53 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2012-07-23 10:40:53 -0400 |
| commit | 5598b9eea196e4085aa91aaf8a0cacaffa200355 (patch) | |
| tree | d3685e9c193705ecee93bc573af960daff874e9e /src/mailman/testing | |
| parent | b2e4c6502c5ff4cdf9488be17556a6d39bbbde6b (diff) | |
| download | mailman-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.cfg | 6 |
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 |
