示例#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())