Skip to content

Commit

Permalink
fix test error
Browse files Browse the repository at this point in the history
  • Loading branch information
nine5two7 committed Nov 4, 2024
1 parent 9a871cc commit 458b4be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aws/logs_monitoring/tests/test_awslogs_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def test_awslogs_handler_step_functions_tags_added_properly(
)
}
}
awslogs_handler.metadata = {}
awslogs_handler.metadata = {"ddsource": "postgresql", "ddtags": "env:dev"}
awslogs_handler.handle(eventFromCustomizedLogGroup)
self.assertEqual(
awslogs_handler.metadata[DD_SOURCE], AwsEventSource.STEPFUNCTION.value
Expand Down Expand Up @@ -193,7 +193,7 @@ def test_awslogs_handler_step_functions_tags_added_properly(
)
}
}
awslogs_handler.metadata = {}
awslogs_handler.metadata = {"ddsource": "postgresql", "ddtags": "env:dev"}
awslogs_handler.handle(eventFromCustomizedLogGroup)
self.assertNotEqual(
awslogs_handler.metadata[DD_SOURCE], AwsEventSource.STEPFUNCTION.value
Expand Down

0 comments on commit 458b4be

Please sign in to comment.