Package dkim :: Package tests
[hide private]
[frames] | no frames]

Source Code for Package dkim.tests

 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 <me@williamgrant.id.au> 
18  # 
19  # This has been modified from the original software. 
20  # Copyright (c) 2016 Google, Inc. 
21  # Contact: Brandon Long <blong@google.com> 
22  # Copyright (c) 2018 Scott Kitterman <scott@kitterman.com> 
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_util, 34 test_arc, 35 test_dnsplug, 36 ) 37 modules = [ 38 test_canonicalization, 39 test_crypto, 40 test_dkim, 41 test_dkim_ed25519, 42 test_util, 43 test_arc, 44 test_dnsplug, 45 ] 46 suites = [x.test_suite() for x in modules] 47 return unittest.TestSuite(suites)
48