CodeQL library for Python
codeql/python-all 3.0.1-dev (changelog, source)
Search

Predicate MakeTestSig::getARelevantTag

Returns all tags that can be generated by this test. Most tests will only ever produce a single tag. Any expected result comments for a tag that is not returned by the getARelevantTag() predicate for an active test will be ignored. This makes it possible to write multiple tests in different .ql files that all query the same source code.

Import path

import utils.test.dataflow.RoutingTest
string getARelevantTag()