예제 #1
0
def test_filter_wrong_trait():
    with pytest.raises(TypeError,
                       match="Not all required methods are implemented"):
        Filter(Empty())
예제 #2
0
def test_acess_wrong_trait():
    with pytest.raises(TypeError,
                       match="Not all required methods are implemented"):
        access = Access(Empty())
예제 #3
0
def test_wrong_broadcaster():
    with pytest.raises(TypeError,
                       match="Not all required methods are implemented"):
        BroadcasterInterface(Empty())
예제 #4
0
def test_wrong_fee_estimator():
    with pytest.raises(TypeError,
                       match="Not all required methods are implemented"):
        FeeEstimator(Empty())
예제 #5
0
def test_socket_descriptor_empty():
    with pytest.raises(TypeError,
                       match="Not all required methods are implemented"):
        SocketDescriptor(Empty())
예제 #6
0
def test_persist_empty():
    with pytest.raises(TypeError, match="Not all required methods are implemented"):
        Persist(Empty())
예제 #7
0
def test_wrong_logger():
    with pytest.raises(TypeError, match="Not all required methods are implemented"):
        LDKLogger(Empty())