コード例 #1
0
ファイル: test_simple_flow.py プロジェクト: hoh/Vega
def test_reception_link():
    receiver = DummyReceiver()
    decryption = DummyDecryption()
    filter = DummyFilter()
    interface = TestInterface()

    receiver.output = decryption
    decryption.output = filter
    filter.output = interface
コード例 #2
0
ファイル: test_simple_flow.py プロジェクト: hoh/Vega
def test_reception_flow():
    receiver = DummyReceiver()
    decryption = DummyDecryption()
    filter = DummyFilter()
    interface = TestInterface()

    receiver.output = decryption
    decryption.output = filter
    filter.output = interface

    contacts = TestContacts()
    receiver.contacts = contacts

    receiver.fetch()