def test_init_repeat(): tmp = util.maketemp() storage.git_init(tmp) storage.init(tmp) util.check_bugit_repository(repo=tmp) storage.init(tmp) util.check_bugit_repository(repo=tmp)
def test_simple(): tmp = util.maketemp() storage.git_init(tmp) result = util.clitest( args=[ 'init', ], cwd=tmp, ) result.check_stdout('') util.check_bugit_repository(repo=tmp)