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