Write test for auto-validating manifest at root of repo

This commit is contained in:
Anthony Sottile 2014-03-13 14:45:08 -07:00
parent 37e94b1e1e
commit 9fa237fbe0
4 changed files with 27 additions and 22 deletions

10
tests/conftest.py Normal file
View file

@ -0,0 +1,10 @@
import pytest
from plumbum import local
@pytest.yield_fixture
def empty_git_dir(tmpdir):
with local.cwd(tmpdir.strpath):
local['git']['init']()
yield tmpdir.strpath