email_validator has a test_parameter option that allows sending mails to .test domains in unit test suites.
This is generally a good practice to use such domains in tests suite as it guarantees that the test suite will never send a valid email on the network.
wtforms should have an option in the email validator to handle test_environment