view tests/test-encoding.py @ 78:031cbb8d4f65

examples: add simple stat-gathering example
author Matt Mackall <mpm@selenic.com>
date Wed, 09 Nov 2011 14:07:29 -0600
parents eac8be119d81
children 4359cabcb0cc
line wrap: on
line source

import common
import hglib

class test_encoding(common.basetest):
    def test_basic(self):
        self.client = hglib.open(encoding='utf-8')
        self.assertEquals(self.client.encoding, 'utf-8')