Skip to content

Commit

Permalink
fix(tests): port is returned as str
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed Jul 13, 2024
1 parent 26de7a9 commit 5b9ccce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_database_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ def test_connection_params_as_dict(self) -> None:
expected_result = {
"dbname": "test_db",
"host": "localhost",
"port": 5432,
"port": "5432",
"user": "test_user",
"password": "test_password",
}
self.assertEqual(self.db_conn.connection_params_as_dict, expected_result)
self.assertDictEqual(self.db_conn.connection_params_as_dict, expected_result)

@patch("pgserviceparser.service_names", return_value=["test_service"])
def test_pg_connection_string_with_service(
Expand Down

0 comments on commit 5b9ccce

Please sign in to comment.