| 1 | # This software is provided 'as-is', without any express or implied |
| 2 | # warranty. In no event will the author be held liable for any damages |
| 3 | # arising from the use of this software. |
| 4 | # |
| 5 | # Permission is granted to anyone to use this software for any purpose, |
| 6 | # including commercial applications, and to alter it and redistribute it |
| 7 | # freely, subject to the following restrictions: |
| 8 | # |
| 9 | # 1. The origin of this software must not be misrepresented; you must not |
| 10 | # claim that you wrote the original software. If you use this software |
| 11 | # in a product, an acknowledgment in the product documentation would be |
| 12 | # appreciated but is not required. |
| 13 | # 2. Altered source versions must be plainly marked as such, and must not be |
| 14 | # misrepresented as being the original software. |
| 15 | # 3. This notice may not be removed or altered from any source distribution. |
| 16 | # |
| 17 | # Copyright (c) 2011 William Grant <[email protected]> |
| 18 | # |
| 19 | # This has been modified from the original software. |
| 20 | # Copyright (c) 2016 Google, Inc. |
| 21 | # Contact: Brandon Long <[email protected]> |
| 22 | # Copyright (c) 2018 Scott Kitterman <[email protected]> |
| 23 | |
| 24 | import unittest |
| 25 | |
| 26 | |
| 27 | def test_suite(): |
| 28 | from dkim.tests import ( |
| 29 | test_canonicalization, |
| 30 | test_crypto, |
| 31 | test_dkim, |
| 32 | test_dkim_ed25519, |
| 33 | test_dkim_rsavariants, |
| 34 | test_dkim_tlsrpt, |
| 35 | test_util, |
| 36 | test_arc, |
| 37 | test_dnsplug, |
| 38 | test_dkim_generate, |
| 39 | ) |
| 40 | modules = [ |
| 41 | test_canonicalization, |
| 42 | test_crypto, |
| 43 | test_dkim, |
| 44 | test_dkim_ed25519, |
| 45 | test_dkim_rsavariants, |
| 46 | test_dkim_tlsrpt, |
| 47 | test_util, |
| 48 | test_arc, |
| 49 | test_dnsplug, |
| 50 | test_dkim_generate, |
| 51 | ] |
| 52 | suites = [x.test_suite() for x in modules] |
| 53 | return unittest.TestSuite(suites) |