def test_hg_hook(): from pylama.hook import hg_hook try: hg_hook(None, dict()) raise AssertionError('Test failed.') except SystemExit: pass
def test_hg_hook(): with pytest.raises(SystemExit): hg_hook(None, dict())
def test_hg_hook(): assert not hg_hook(None, dict())
def test_hg_hook(): from pylama.hook import hg_hook assert not hg_hook(None, {})