def test_unknown_command(self):
        """Should fail if the command is not recognized."""

        r = support.run_command('alias fake')
        self.assertTrue(r.failed, 'should have failed')
        self.assertEqual(r.errors[0].code, 'UNKNOWN_COMMAND')