Add unit test for bytes repository paths

This commit is contained in:
Thom Wiggers 2016-02-27 23:43:44 +01:00
parent 487fb5913e
commit 3470fbc1c6
No known key found for this signature in database
GPG Key ID: AD8FF333C6DC5058

@ -482,6 +482,13 @@ class EmptyRepositoryTest(utils.EmptyRepoTestCase):
self.assertFalse(self.repo.head_is_detached)
class BytesStringRepositoryTest(utils.NoRepoTestCase):
def test_bytes_string(self):
repo_path = b'./test/data/testrepo.git/'
pygit2.Repository(repo_path)
class CloneRepositoryTest(utils.NoRepoTestCase):
def test_clone_repository(self):