Skip to content

Commit

Permalink
RM-96 pass none
Browse files Browse the repository at this point in the history
  • Loading branch information
ryantimjohn committed Jul 11, 2023
1 parent c4cd3db commit c6935f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/db/redshift/test_redshift_db_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def test_set_grant_permissions_for_group(self, mock_quote_schema_and_table,
mock_quote_group_name.return_value = '"a_group"'
groups = {'all': ['a_group']}
mock_conn = self.mock_db_engine.engine.connect.return_value.__enter__.return_value
self.redshift_db_driver.set_grant_permissions_for_groups(mock_schema, mock_table,
self.redshift_db_driver.set_grant_permissions_for_groups(None, mock_schema, mock_table,
groups, None, db_conn=mock_conn)
mock_conn.execute.assert_called_with(
f'GRANT all ON TABLE {mock_schema}.{mock_table} TO GROUP "a_group"')
Expand Down

0 comments on commit c6935f4

Please sign in to comment.