Remove stateful Runner

This commit is contained in:
Anthony Sottile 2018-12-26 22:33:21 -08:00
parent 1d40cc2104
commit fe409f1a43
17 changed files with 209 additions and 315 deletions

View file

@ -63,6 +63,13 @@ def in_tmpdir(tempdir_factory):
yield path
@pytest.fixture
def in_git_dir(tmpdir):
with tmpdir.as_cwd():
cmd_output('git', 'init')
yield tmpdir
def _make_conflict():
cmd_output('git', 'checkout', 'origin/master', '-b', 'foo')
with io.open('conflict_file', 'w') as conflict_file: