Debian Codegraph @

tests/test_settings.py

raw
1 # Copyright New York University and the in-toto contributors
2 # SPDX-License-Identifier: Apache-2.0
3
4 """
5 <Program Name>
6 test_settings.py
7
8 <Author>
9 Lukas Puehringer <[email protected]>
10
11 <Started>
12 Jan 30, 2018
13
14 <Copyright>
15 See LICENSE for licensing information.
16
17 <Purpose>
18 Test in_toto/settings.py
19
20 """
21 import unittest
22
23 import in_toto.settings
24
25
26 class TestSettings(unittest.TestCase):
27 def test_debug_not_true(self):
28 """in_toto.settings.DEBUG should not be commited with True."""
29 self.assertFalse(in_toto.settings.DEBUG)
30
31
32 if __name__ == "__main__":
33 unittest.main()