new config file has to exist (change in libgit2 - see 270160b)

This commit is contained in:
Nico von Geyso 2012-11-19 23:14:27 +01:00
parent 5496028150
commit 3e0c6f521d

@ -65,6 +65,7 @@ class ConfigTest(utils.RepoTestCase):
pass
def test_new(self):
open(config_filename, 'w').close() # touch file
config_write = pygit2.Config(config_filename)
self.assertNotEqual(config_write, None)