xref: /llvm-project/lldb/test/API/functionalities/testid/TestTestId.py (revision 2238dcc39358353cac21df75c3c3286ab20b8f53)
1"""
2Add a test to verify our test instance returns something non-None for
3an id(). Other parts of the test running infrastructure are counting on this.
4"""
5
6from lldbsuite.test.lldbtest import TestBase
7
8
9class TestIdTestCase(TestBase):
10    NO_DEBUG_INFO_TESTCASE = True
11
12    def test_id_exists(self):
13        self.assertIsNotNone(self.id(), "Test instance should have an id()")
14