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

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