def testRemoteVsRemoteCommands(self):
        """
        Tests the output for two clients
        """
        # Create clients
        client_1 = ShellClient(self.remote.get_banner(), self.remote.get_ps1(),
                               self.fail)
        client_2 = ShellClient(self.remote.get_banner(), self.remote.get_ps1(),
                               self.fail)

        # Connect them to the remote shell
        client_1.connect(self.remote.get_access())
        client_2.connect(self.remote.get_access())

        try:
            for command in ('bl', 'bd 0', 'sl', 'sd 1'):
                # Get clients outputs
                client_1_output = client_1.run_command(command)
                client_2_output = client_2.run_command(command)

                # Compare them
                self.assertEqual(client_1_output, client_2_output)
        finally:
            # Close the client in any case
            client_1.close()
            client_2.close()