Skip to content

Commit

Permalink
fix bug in the previous test
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelsz-rb committed Apr 17, 2024
1 parent a32094b commit debe4dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollbar/test/test_shortener_transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def _assert_shortened(self, key, expected):
result = transforms.transform(self.data, shortener)

if key == 'dict':
self.assertEqual(expected, len(result))
self.assertEqual(expected, len(result[key]))
elif key in ('list_max_level', 'dict_max_level'):
self.assertEqual(expected, result[key])
else:
Expand Down

0 comments on commit debe4dc

Please sign in to comment.