Page MenuHomeSoftware Heritage

Add support for pytest-postgresql 3.0.0
ClosedPublic

Authored by vlorentz on May 6 2021, 1:03 PM.

Details

Summary

Two changes affect us:

  • pytest_postgresql.factories.get_config was moved to pytest_postgresql.config.get_config
  • all db_name keywords and attributes were renamed to dbname

For consistency, I renamed db_name to dbname everywhere, so this will
affect other SWH packages.

Diff Detail

Event Timeline

Build is green

Patch application report for D5694 (id=20337)

Rebasing onto 4d70ee0cfa...

Current branch diff-target is up to date.
Changes applied before test
commit 8863ae0471d47a2739bcce6af14ff9f8f9068ca3
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Thu May 6 13:02:34 2021 +0200

    Add support for pytest-postgresql 3.0.0
    
    Two changes affect us:
    
    * pytest_postgresql.factories.get_config was moved to pytest_postgresql.config.get_config
    * all db_name keywords and attributes were renamed to dbname
    
    For consistency, I renamed db_name to dbname everywhere, so this will
    affect other SWH packages.

See https://jenkins.softwareheritage.org/job/DCORE/job/tests-on-diff/221/ for more details.

anlambert added a subscriber: anlambert.

Looks good to me.

This revision is now accepted and ready to land.May 6 2021, 1:48 PM

Build is green

Patch application report for D5694 (id=20341)

Rebasing onto 5f9527f0bf...

Current branch diff-target is up to date.
Changes applied before test
commit 927cff85968fb7caffa80e32b20bdea6cb855944
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Thu May 6 13:02:34 2021 +0200

    Add support for pytest-postgresql 3.0.0
    
    Two changes affect us:
    
    * pytest_postgresql.factories.get_config was moved to pytest_postgresql.config.get_config
    * all db_name keywords and attributes were renamed to dbname
    
    For consistency, I renamed db_name to dbname everywhere, so this will
    affect other SWH packages.

See https://jenkins.softwareheritage.org/job/DCORE/job/tests-on-diff/223/ for more details.

This revision was automatically updated to reflect the committed changes.