summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/lldb/packages/Python/lldbsuite/test/functionalities/testid/TestTestId.py
blob: b3d331773f81f55a99b3bc8e29d7ba1fd3129b09 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
"""
Add a test to verify our test instance returns something non-None for
an id(). Other parts of the test running infrastructure are counting on this.
"""

from lldbsuite.test.lldbtest import TestBase

class TestIdTestCase(TestBase):

    NO_DEBUG_INFO_TESTCASE = True

    mydir = TestBase.compute_mydir(__file__)

    def test_id_exists(self):
        self.assertIsNotNone(self.id(), "Test instance should have an id()")