'Checks that \'annotations\' doesn\'t call SetTracing if disabled.'

def testSetTracingFalse(self):

    test_name = 'set-tracing-false'
    with tf.Graph().as_default():
        (builder, _) = self.getBuilderAndTarget(test_name)
        anno = builder.add_annotation(test_name, enable_tracing=False)
        path = _find_input_path_to_type(anno['annotations'], 'ReleaseSession')
        self.assertNotEmpty(path)
        path = _find_input_path_to_type(path[(-1)], 'AttachDataReader')
        self.assertNotEmpty(path)
        set_tracing_path = _find_input_path_to_type(path[(-1)], 'SetTracing')
        self.assertEmpty(set_tracing_path)
        path = _find_input_path_to_type(path[(-1)], 'GetSession')
        self.assertNotEmpty(path)
