def test_juniper_to_cisco_exec_clistyle(self):
        c = Connection(
            hostname='ncs',
            start=['mock_device_cli --os confd --state juniper_exec'],
            os='confd',
            username='******',
            tacacs_password='******')
        c.connect()
        c.cli_style(style='c')
        self.assertEqual("\n".join(c.spawn.match.match_output.splitlines()),
                         """\
switch cli
user@ncs# """)
    def test_cisco_to_juniper_config_clistyle(self):
        c = Connection(
            hostname='ncs',
            start=['mock_device_cli --os confd --state cisco_config'],
            os='confd',
            username='******',
            tacacs_password='******')
        c.connect()
        c.execute('configure')
        c.cli_style(style='j')
        self.assertEqual(
            "\n".join(c.spawn.match.match_output.splitlines()), """\
switch cli
[ok][1970-01-01 00:00:00]

[edit]
user@ncs% """)