@classmethod<EOL><INDENT>def setUpClass(cls):<DEDENT>
<EOL>with tempfile.NamedTemporaryFile('<STR_LIT:w>', delete=False) as tf:<EOL><INDENT>tf.write(CONFIG_STDIO)<EOL>cls.config_stdio = tf.name<EOL><DEDENT>with tempfile.NamedTemporaryFile('<STR_LIT:w>', delete=False) as tf:<EOL><INDENT>tf.write(CONFIG_SSH)<EOL>cls.config_ssh = tf.name<EOL><DEDENT>with tempfile.NamedTemporaryFile('<STR_LIT:w>', delete=False) as tf:<EOL><INDENT>tf.write(CONFIG_IOMWIN)<EOL>cls.config_iomwin = tf.name<EOL><DEDENT>with tempfile.NamedTemporaryFile('<STR_LIT:w>', delete=False) as tf:<EOL><INDENT>tf.write(CONFIG_INVALID)<EOL>cls.config_invalid = tf.name<EOL><DEDENT>with tempfile.NamedTemporaryFile('<STR_LIT:w>', delete=False) as tf:<EOL><INDENT>tf.write('<STR_LIT>')<EOL>cls.config_empty = tf.name<EOL><DEDENT>
Create dummy config files for test cases. Use `NamedTemporaryFile`
instead of in-memory `StringIO` because `SASsession` expects a file
path, not a file-like object when passed a `cfgfile`.