Skip to content

Commit

Permalink
Updated S106 wording
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzbrand committed Oct 23, 2024
1 parent 8b8a20f commit 2053f16
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions rp_interceptors/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def test_hmac_missing(self):
"""
interceptor = Interceptor.objects.create(
org=self.org,
hmac_secret="test-secret", # noqa: S106 - Its OK to hardcode passwords in tests
hmac_secret="test-secret", # noqa: S106 - Fake password/token for test purposes
channel_uuid="1234343212",
)
url = reverse("interceptor-status", args=[interceptor.pk])
Expand All @@ -51,7 +51,7 @@ def test_status_request(self):
"""
interceptor: Interceptor = Interceptor.objects.create(
org=self.org,
hmac_secret="test-secret", # noqa: S106 - Its OK to hardcode passwords in tests
hmac_secret="test-secret", # noqa: S106 - Fake password/token for test purposes
channel_uuid="1234343212",
)
url: str = reverse("interceptor-status", args=[interceptor.pk])
Expand Down Expand Up @@ -105,7 +105,7 @@ def test_empty_status_request(self):
"""
interceptor: Interceptor = Interceptor.objects.create(
org=self.org,
hmac_secret="test-secret", # noqa: S106 - Its OK to hardcode passwords in tests
hmac_secret="test-secret", # noqa: S106 - Fake password/token for test purposes
channel_uuid="1234343212",
)
url: str = reverse("interceptor-status", args=[interceptor.pk])
Expand All @@ -126,7 +126,7 @@ def test_non_status_request(self):
"""
interceptor: Interceptor = Interceptor.objects.create(
org=self.org,
hmac_secret="test-secret", # noqa: S106 - Its OK to hardcode passwords in tests
hmac_secret="test-secret", # noqa: S106 - Fake password/token for test purposes
channel_uuid="1234343212",
)
url: str = reverse("interceptor-status", args=[interceptor.pk])
Expand Down Expand Up @@ -165,7 +165,7 @@ def test_status_request_no_message_key(self):
"""
interceptor: Interceptor = Interceptor.objects.create(
org=self.org,
hmac_secret="test-secret", # noqa: S106 - Its OK to hardcode passwords in tests
hmac_secret="test-secret", # noqa: S106 - Fake password/token for test purposes
channel_uuid="1234343212",
)
url: str = reverse("interceptor-status", args=[interceptor.pk])
Expand Down Expand Up @@ -203,7 +203,7 @@ def test_status_request_contains_recipient_id(self):
"""
interceptor: Interceptor = Interceptor.objects.create(
org=self.org,
hmac_secret="test-secret", # noqa: S106 - Its OK to hardcode passwords in tests
hmac_secret="test-secret", # noqa: S106 - Fake password/token for test purposes
channel_uuid="1234343212",
)
url: str = reverse("interceptor-status", args=[interceptor.pk])
Expand Down Expand Up @@ -244,7 +244,7 @@ def test_status_request_msg_has_no_recipient_id(self):
"""
interceptor: Interceptor = Interceptor.objects.create(
org=self.org,
hmac_secret="test-secret", # noqa: S106 - Its OK to hardcode passwords in tests
hmac_secret="test-secret", # noqa: S106 - Fake password/token for test purposes
channel_uuid="1234343212",
)
url: str = reverse("interceptor-status", args=[interceptor.pk])
Expand Down

0 comments on commit 2053f16

Please sign in to comment.