Coverage for tests/testSingle.py: 75%
6 statements
« prev ^ index » next coverage.py v7.2.5, created at 2023-05-14 21:20 +0000
« prev ^ index » next coverage.py v7.2.5, created at 2023-05-14 21:20 +0000
1"""
2Very simple tests to show that the test running infrastructure can run tests
3standalone in a separate pytest process when required. There is nothing
4scons-specific about these tests.
5"""
7import unittest
10class SimplestPossibleSingleTestCase(unittest.TestCase):
11 """Tests that don't rely on any external code."""
13 def testSimple(self):
14 self.assertEqual(2 + 2, 4)
17if __name__ == "__main__": 17 ↛ 18line 17 didn't jump to line 18, because the condition on line 17 was never true
18 unittest.main()