]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - packages/Python/lldbsuite/test/functionalities/testid/TestTestId.py
Vendor import of lldb trunk r290819:
[FreeBSD/FreeBSD.git] / packages / Python / lldbsuite / test / functionalities / testid / TestTestId.py
1 """
2 Add a test to verify our test instance returns something non-None for
3 an id(). Other parts of the test running infrastructure are counting on this.
4 """
5
6 from __future__ import print_function
7 from lldbsuite.test.lldbtest import TestBase
8
9 class TestIdTestCase(TestBase):
10
11     NO_DEBUG_INFO_TESTCASE = True
12
13     mydir = TestBase.compute_mydir(__file__)
14
15     def test_id_exists(self):
16         self.assertIsNotNone(self.id(), "Test instance should have an id()")
17