Skip to content

Commit

Permalink
fix unittest of get_card_data function
Browse files Browse the repository at this point in the history
  • Loading branch information
vvaezian committed Jun 1, 2024
1 parent 0f777c1 commit e8d22be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_metabase_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def test_get_card_data(self):

# filtered data
res = mb.get_card_data(card_id=2, parameters=[{"type":"string/=","value":['row1 cell1', 'row3 cell1'],"target":["dimension",["template-tag","test_filter"]]}])
filtered_data = [{'col1': 'row1 cell1', 'col2': '1'}, {'col1': 'row3 cell1', 'col2': None}]
filtered_data = [{'col1': 'row1 cell1', 'col2': 1}, {'col1': 'row3 cell1', 'col2': None}]
self.assertEqual(res, filtered_data)


Expand Down

0 comments on commit e8d22be

Please sign in to comment.