From d27b234cdb55e9aa8b8333b8b24ab1eb70e1e11e Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Mon, 11 Nov 2024 11:13:29 -0800 Subject: [PATCH] billing dao test --- tests/app/dao/test_annual_billing_dao.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/app/dao/test_annual_billing_dao.py b/tests/app/dao/test_annual_billing_dao.py index bac76e941..de07e21c4 100644 --- a/tests/app/dao/test_annual_billing_dao.py +++ b/tests/app/dao/test_annual_billing_dao.py @@ -136,6 +136,8 @@ def test_dao_get_annual_billing(mocker): result = dao_get_annual_billing(service_id) mock_db_session.assert_called_once() stmt = mock_db_session.call_args[0][0] + print(f"stmt = {stmt}") + print(f"params = {stmt.compile().params}") assert stmt.compile().params["service_id"] == service_id assert result == ["billing_entry1", "billing_entry2"]