Skip to content

Commit

Permalink
Unit test changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Deralden committed Aug 22, 2024
1 parent a9bf559 commit d215bdc
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@ def test_get_certificate_expiration_slack_notification_message(self):
days_left_for_expiration = 10
response = self.monitor_service_certificate._get_certificate_expiration_slack_notification_message(
org_id=org_id, service_id=service_id, endpoint=endpoint, days_left_for_expiration=days_left_for_expiration)
assert (response == "```Alert!\n\nCertificates for service test_service_id under organization test_org_id for "
"the TEST network are about to expire in 10 days.\nEndpoint: https://dummyendpoint.com \n\n"
"For any queries please email at [email protected]. \n\nWarmest regards, \n"
"SingularityNET Marketplace Team```")
assert (response == "Certificates for service test_service_id under organization test_org_id for "
"the TEST network are about to expire in 10 days.")

def test_get_certificate_expiration_email_notification_message(self):
org_id = "test_org_id"
Expand Down

0 comments on commit d215bdc

Please sign in to comment.