class_docstr: Tests InputPipeline string definitions
class_docstr_tok: ["Tests","InputPipeline","string","definitions"]
code: def test_without_extra_args(self):
      pipeline_def = yaml.load(
          """
        class: ParallelTextInputPipeline
        params:
          source_files: ["file1"]
          target_files: ["file2"]
          num_epochs: 1
          shuffle: True
      """
      )
      pipeline = input_pipeline.make_input_pipeline_from_def(
          pipeline_def, tf.contrib.learn.ModeKeys.TRAIN
      )
      self.assertIsInstance(
          pipeline, input_pipeline.ParallelTextInputPipeline
      )
      # pylint: disable=W0212
      self.assertEqual(pipeline.params["source_files"], ["file1"])
      self.assertEqual(pipeline.params["target_files"], ["file2"])
      self.assertEqual(pipeline.params["num_epochs"], 1)
      self.assertEqual(pipeline.params["shuffle"], True)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import tensorflow
  import numpy
  import yaml
  from seq2seq.data import input_pipeline
  from seq2seq.test import utils
label_desc: Use image node_id 1 for calling the TestInputPipelineDef obj's underlying member method code with example usage: obj.test_without_extra_args() without return types