From b70b2b654cf370664df381d44a338d6d2668eaf4 Mon Sep 17 00:00:00 2001 From: Melbin J Paulose <91303803+melbinjp@users.noreply.github.com> Date: Fri, 21 Aug 2026 18:22:32 +0530 Subject: [PATCH 1/4] docs: point CONTRIBUTING.md at the test paths that exist --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index af950715..6b836115 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -73,7 +73,7 @@ If testing from the root directory of this repo, create a new file (e.g. test.py The PR must pass all the tests before it is reviewed. -All test files are in the [`test`](test) directory. For the purposes of contributing to this repo, please update the [`test_sendgrid.py`](test/test_sendgrid.py) file with unit tests as you modify the code. +All test files are in the [`test`](test) directory. For the purposes of contributing to this repo, please update the [`test_sendgrid.py`](test/integ/test_sendgrid.py) file with unit tests as you modify the code. The integration tests require a Twilio SendGrid mock API in order to execute. We've simplified setting this up using Docker to run the tests. You will just need [Docker Desktop](https://docs.docker.com/get-docker/) and `make`. From 37dcdb3d7512cb959accefa36d853a14a31389d2 Mon Sep 17 00:00:00 2001 From: Melbin J Paulose <91303803+melbinjp@users.noreply.github.com> Date: Fri, 21 Aug 2026 18:22:34 +0530 Subject: [PATCH 2/4] docs: point TROUBLESHOOTING.md at the test paths that exist --- TROUBLESHOOTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TROUBLESHOOTING.md b/TROUBLESHOOTING.md index 0a7f54c6..79516bdf 100644 --- a/TROUBLESHOOTING.md +++ b/TROUBLESHOOTING.md @@ -124,7 +124,7 @@ Please review [our use_cases](use_cases/README.md) for examples of error handlin Twilio SendGrid's Event Webhook will notify a URL via HTTP POST with information about events that occur as your mail is processed. [This](https://docs.sendgrid.com/for-developers/tracking-events/getting-started-event-webhook-security-features) article covers all you need to know to secure the Event Webhook, allowing you to verify that incoming requests originate from Twilio SendGrid. The sendgrid-python library can help you verify these Signed Event Webhooks. -You can find the usage example [here](examples/helpers/eventwebhook/eventwebhook_example.py) and the tests [here](test/test_eventwebhook.py). +You can find the usage example [here](examples/helpers/eventwebhook/eventwebhook_example.py) and the tests [here](test/unit/test_eventwebhook.py). If you are still having trouble getting the validation to work, follow the following instructions: - Be sure to use the *raw* payload for validation - Be sure to include a trailing carriage return and newline in your payload From dba7ab117eb7e63b1a06988289f5293909775bb2 Mon Sep 17 00:00:00 2001 From: Melbin J Paulose <91303803+melbinjp@users.noreply.github.com> Date: Fri, 21 Aug 2026 18:22:35 +0530 Subject: [PATCH 3/4] docs: point sendgrid/helpers/inbound/README.md at the test paths that exist --- sendgrid/helpers/inbound/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sendgrid/helpers/inbound/README.md b/sendgrid/helpers/inbound/README.md index 79e5b454..680105eb 100644 --- a/sendgrid/helpers/inbound/README.md +++ b/sendgrid/helpers/inbound/README.md @@ -127,8 +127,8 @@ This module is used to send sample test data. It is useful for testing and devel Tests are located in the root of this project in the /test folder: -- [test_config.py](../../../test/test_config.py) -- [test_parse.py](../../../test/test_parse.py) +- [test_config.py](../../../test/unit/test_config.py) +- [test_parse.py](../../../test/unit/test_parse.py) Learn about testing this code [here](../../../CONTRIBUTING.md#testing). From 715fb3f5d4b337206a4ee68d0db0bf7ea918a64c Mon Sep 17 00:00:00 2001 From: Melbin J Paulose <91303803+melbinjp@users.noreply.github.com> Date: Fri, 21 Aug 2026 18:23:06 +0530 Subject: [PATCH 4/4] docs: the sentence asks for unit tests, so point it at the unit file --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6b836115..3e4165be 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -73,7 +73,7 @@ If testing from the root directory of this repo, create a new file (e.g. test.py The PR must pass all the tests before it is reviewed. -All test files are in the [`test`](test) directory. For the purposes of contributing to this repo, please update the [`test_sendgrid.py`](test/integ/test_sendgrid.py) file with unit tests as you modify the code. +All test files are in the [`test`](test) directory. For the purposes of contributing to this repo, please update the [`test_sendgrid.py`](test/unit/test_sendgrid.py) file with unit tests as you modify the code. The integration tests require a Twilio SendGrid mock API in order to execute. We've simplified setting this up using Docker to run the tests. You will just need [Docker Desktop](https://docs.docker.com/get-docker/) and `make`.