Пример #1
0
def test_signal__from_str__unknown_signal():
    signals.from_str("SIGSMURF")
Пример #2
0
def test_signal__from_str__wrong_type():
    signals.from_str(signal.SIGTERM)
Пример #3
0
def test_signal__str_to_sigterm():
    assert_equal(signals.from_str("SIGTERM"), signal.SIGTERM)