tests: Update for swh.core >= 3.0.0
Which itself switches to pytest-postgresql 5.0, which changes the object the 'dsn' attribute is on.
Staging instance, all changes can be removed at any time
Which itself switches to pytest-postgresql 5.0, which changes the object the 'dsn' attribute is on.