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

    assert not hg_hook(None, {})
Пример #7
0
def test_hg_hook():
    with pytest.raises(SystemExit):
        hg_hook(None, dict())