Ejemplo n.º 1
0
 def test_hg_hook():
     from pylama.hook import hg_hook
     try:
         hg_hook(None, dict())
         raise AssertionError('Test failed.')
     except SystemExit:
         pass
Ejemplo n.º 2
0
 def test_hg_hook():
     from pylama.hook import hg_hook
     try:
         hg_hook(None, dict())
         raise AssertionError('Test failed.')
     except SystemExit:
         pass
Ejemplo n.º 3
0
def test_hg_hook():
    with pytest.raises(SystemExit):
        hg_hook(None, dict())
Ejemplo n.º 4
0
def test_hg_hook():
    assert not hg_hook(None, dict())
Ejemplo n.º 5
0
def test_hg_hook():
    assert not hg_hook(None, dict())
Ejemplo n.º 6
0
def test_hg_hook():
    from pylama.hook import hg_hook

    assert not hg_hook(None, {})
Ejemplo n.º 7
0
def test_hg_hook():
    with pytest.raises(SystemExit):
        hg_hook(None, dict())