Skip to content

Commit

Permalink
rename postgres -> postgresql
Browse files Browse the repository at this point in the history
  • Loading branch information
giuppep committed Apr 3, 2024
1 parent 616edd0 commit 563d5a4
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ Anything documented here is part of the public API that Flask-Session provides,
.. autoclass:: flask_session.mongodb.MongoDBSessionInterface
.. autoclass:: flask_session.sqlalchemy.SqlAlchemySessionInterface
.. autoclass:: flask_session.dynamodb.DynamoDBSessionInterface
.. autoclass:: flask_session.postgres.PostgreSqlSessionInterface
.. autoclass:: flask_session.postgresql.PostgreSqlSessionInterface
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions tests/test_postgresql.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from itsdangerous import want_bytes
from psycopg2.pool import ThreadedConnectionPool

from flask_session.postgres import PostgreSqlSession
from flask_session.postgresql import PostgreSqlSession

TEST_DB = "postgresql://root:pwd@localhost:5433/dummy"

Expand Down Expand Up @@ -35,7 +35,7 @@ def retrieve_stored_session(self, key):
return want_bytes(session_data[0].tobytes())
return None

def test_postgres(self, app_utils):
def test_postgresql(self, app_utils):
with self.setup_postgresql(app_utils), self.app.test_request_context():
assert isinstance(flask.session, PostgreSqlSession)
app_utils.test_session(self.app)
Expand Down

0 comments on commit 563d5a4

Please sign in to comment.