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
def test_publish_with_futures(topic_publish, capsys): publisher.publish_messages_with_futures(PROJECT, TOPIC_PUBLISH) out, _ = capsys.readouterr() assert "Published" in out