Skip to content

Commit a26cfc7

Browse files
committed
Fixing unit tests for ruff fixes
1 parent fde436d commit a26cfc7

5 files changed

Lines changed: 5 additions & 16 deletions

File tree

application/pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,7 @@ ignore_names = [
1616
"metadata",
1717
"recipient_email_address",
1818
"recipient_id",
19-
"unhandled_exception_logging_hidden_event"
19+
"unhandled_exception_logging_hidden_event",
20+
"creatorsname",
21+
"email"
2022
]

application/service_sync/reject_pending_changes/pending_changes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ class PendingChange:
2121

2222
id: str # Id of the pending change from the change table
2323
value: str # Value of the pending change as a JSON string
24-
_creatorsname: str # User name of the user who made the change #Reserved for future use if needed(retiring now)
25-
_email: str # Email address of the user who made the change #Reserved for future use if needed(retiring now)
24+
creatorsname: str # User name of the user who made the change
25+
email: str # Email address of the user who made the change
2626
typeid: str # Type id of the service
2727
name: str # Name of the service
2828
uid: str # Uid of the service

build/automation/var/project.mk

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,6 @@ TF_VAR_signing_key_alias := $(PROJECT_ID)-$(SHARED_ENVIRONMENT)-signing-key-alia
120120
TF_VAR_route53_health_check_alarm_region_signing_key_alias := $(PROJECT_ID)-$(SHARED_ENVIRONMENT)-alarm-region-signing-key-alias
121121

122122
# S3
123-
SEND_EMAIL_BUCKET_NAME := $(PROJECT_ID)-$(SHARED_ENVIRONMENT)-send-email-bucket
124-
TF_VAR_send_email_bucket_name := $(SEND_EMAIL_BUCKET_NAME)
125-
TF_VAR_logs_bucket_name := $(PROJECT_ID)-$(SHARED_ENVIRONMENT)-logs-bucket
126123

127124
# Cloudwatch monitoring dashboard
128125
TF_VAR_shared_resources_sns_topic_app_alerts_for_slack_default_region := $(PROJECT_ID)-$(SHARED_ENVIRONMENT)-shared-resources-topic-app-alerts-for-slack-default-region

infrastructure/stacks/application/variables.tf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,6 @@ variable "sns_topic_app_alerts_for_slack_route53_health_check_alarm_region" {
133133
# # S3
134134
# ##############
135135

136-
variable "send_email_bucket_name" {
137-
type = string
138-
description = "Name of the bucket to temporarily store emails to be sent"
139-
}
140-
141136
# ##############
142137
# # FIREHOSE
143138
# ##############

infrastructure/stacks/shared-resources/variables.tf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,6 @@ variable "shared_resources_sns_topic_app_alerts_for_slack_route53_health_check_a
115115
# # S3
116116
# ##############
117117

118-
variable "send_email_bucket_name" {
119-
type = string
120-
description = "Name of the bucket to temporarily store emails to be sent"
121-
}
122-
123118
variable "logs_bucket_name" {
124119
type = string
125120
description = "Name of the bucket to store logs"

0 commit comments

Comments
 (0)