コード例 #1
0
def test_publish_with_futures(topic, capsys):
    publisher.publish_messages_with_futures(PROJECT, TOPIC)

    out, _ = capsys.readouterr()
    assert "Published" in out

    _to_delete()
コード例 #2
0
def test_publish_with_futures(topic, capsys):
    publisher.publish_messages_with_futures(PROJECT, TOPIC)

    out, _ = capsys.readouterr()
    assert 'Published' in out
コード例 #3
0
def test_publish_with_futures(topic_publish, capsys):
    publisher.publish_messages_with_futures(PROJECT, TOPIC_PUBLISH)

    out, _ = capsys.readouterr()
    assert "Published" in out