/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to tests/test_mapping.py

Add tests for generate_file_id.

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
            self.assertTrue(mapping.is_control_file(".bzrfileids"))
61
61
        self.assertFalse(mapping.is_control_file(".bzrfoo"))
62
62
 
 
63
    def test_generate_file_id(self):
 
64
        mapping = BzrGitMappingv1()
 
65
        self.assertIsInstance(mapping.generate_file_id("la"), str)
 
66
        self.assertIsInstance(mapping.generate_file_id(u"é"), str)
 
67
 
63
68
 
64
69
class FileidTests(tests.TestCase):
65
70