Coverage for tests/testSingle.py: 75%

6 statements  

« prev     ^ index     » next       coverage.py v6.5.0, created at 2023-02-22 11:01 +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""" 

6 

7import unittest 

8 

9 

10class SimplestPossibleSingleTestCase(unittest.TestCase): 

11 """Tests that don't rely on any external code.""" 

12 

13 def testSimple(self): 

14 self.assertEqual(2 + 2, 4) 

15 

16 

17if __name__ == "__main__": 17 ↛ 18line 17 didn't jump to line 18, because the condition on line 17 was never true

18 unittest.main()