'Checks that train[\'run\'] and \'annotations\' call AttachDataReader.'

def testAttachDataReader(self):

    test_name = 'attach-data-reader'
    with tf.Graph().as_default():
        (builder, target) = self.getBuilderAndTarget(test_name)
        train = builder.add_training_from_config(target)
        anno = builder.add_annotation(test_name)
        self.checkOpOrder('train', train['run'], ['GetSession', 'AttachDataReader', 'ReleaseSession'])
        self.checkOpOrder('annotations', anno['annotations'], ['GetSession', 'AttachDataReader', 'ReleaseSession'])
