Skip to content

Commit

Permalink
Add reflection
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike committed Aug 28, 2023
1 parent 2931a20 commit 58587a9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/hdx/database/test_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,9 @@ def test_get_reflect_session(self, database_to_reflect):
row = dbsession.execute(select(Table1)).scalar_one()
assert row.id == "1"
assert row.col1 == "wfrefds"
assert row.date1 == datetime(
1993, 9, 23, 14, 12, 56, 111000
) # with reflection, type annotation maps do not work and hence
# with reflection, type annotation maps do not work and hence
# we don't have a timezone here
assert row.date1 == datetime(1993, 9, 23, 14, 12, 56, 111000)

def test_get_session_ssh(self, mock_psycopg, mock_SSHTunnelForwarder):
with Database(
Expand Down

0 comments on commit 58587a9

Please sign in to comment.