pytest-kafka-broker 0.3.0__tar.gz → 0.3.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (22) hide show
  1. {pytest_kafka_broker-0.3.0 → pytest_kafka_broker-0.3.1}/.gitignore +1 -0
  2. {pytest_kafka_broker-0.3.0 → pytest_kafka_broker-0.3.1}/PKG-INFO +1 -1
  3. {pytest_kafka_broker-0.3.0 → pytest_kafka_broker-0.3.1}/src/pytest_kafka_broker/__init__.py +4 -1
  4. {pytest_kafka_broker-0.3.0 → pytest_kafka_broker-0.3.1}/src/pytest_kafka_broker.egg-info/PKG-INFO +1 -1
  5. {pytest_kafka_broker-0.3.0 → pytest_kafka_broker-0.3.1}/.gitlab-ci.yml +0 -0
  6. {pytest_kafka_broker-0.3.0 → pytest_kafka_broker-0.3.1}/.pre-commit-config.yaml +0 -0
  7. {pytest_kafka_broker-0.3.0 → pytest_kafka_broker-0.3.1}/.readthedocs.yml +0 -0
  8. {pytest_kafka_broker-0.3.0 → pytest_kafka_broker-0.3.1}/README.md +0 -0
  9. {pytest_kafka_broker-0.3.0 → pytest_kafka_broker-0.3.1}/docs/Makefile +0 -0
  10. {pytest_kafka_broker-0.3.0 → pytest_kafka_broker-0.3.1}/docs/conf.py +0 -0
  11. {pytest_kafka_broker-0.3.0 → pytest_kafka_broker-0.3.1}/docs/index.rst +0 -0
  12. {pytest_kafka_broker-0.3.0 → pytest_kafka_broker-0.3.1}/docs/make.bat +0 -0
  13. {pytest_kafka_broker-0.3.0 → pytest_kafka_broker-0.3.1}/pyproject.toml +0 -0
  14. {pytest_kafka_broker-0.3.0 → pytest_kafka_broker-0.3.1}/setup.cfg +0 -0
  15. {pytest_kafka_broker-0.3.0 → pytest_kafka_broker-0.3.1}/src/pytest_kafka_broker/py.typed +0 -0
  16. {pytest_kafka_broker-0.3.0 → pytest_kafka_broker-0.3.1}/src/pytest_kafka_broker.egg-info/SOURCES.txt +0 -0
  17. {pytest_kafka_broker-0.3.0 → pytest_kafka_broker-0.3.1}/src/pytest_kafka_broker.egg-info/dependency_links.txt +0 -0
  18. {pytest_kafka_broker-0.3.0 → pytest_kafka_broker-0.3.1}/src/pytest_kafka_broker.egg-info/entry_points.txt +0 -0
  19. {pytest_kafka_broker-0.3.0 → pytest_kafka_broker-0.3.1}/src/pytest_kafka_broker.egg-info/requires.txt +0 -0
  20. {pytest_kafka_broker-0.3.0 → pytest_kafka_broker-0.3.1}/src/pytest_kafka_broker.egg-info/top_level.txt +0 -0
  21. {pytest_kafka_broker-0.3.0 → pytest_kafka_broker-0.3.1}/tests/__init__.py +0 -0
  22. {pytest_kafka_broker-0.3.0 → pytest_kafka_broker-0.3.1}/tests/test_kafka.py +0 -0
@@ -1,5 +1,6 @@
1
1
  __pycache__
2
2
  _build
3
+ .coverage
3
4
  *.egg-info
4
5
  api
5
6
  build
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pytest-kafka-broker
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: Pytest plugin to run a single-broker Kafka cluster
5
5
  Author-email: Leo Singer <leo.singer@ligo.org>
6
6
  License-Expression: Apache-2.0
@@ -186,5 +186,8 @@ async def kafka_broker(
186
186
  yield KafkaBrokerContext(f"127.0.0.1:{plaintext_port}")
187
187
  finally:
188
188
  with Status("Stopping Kafka broker"):
189
- process.terminate()
189
+ try:
190
+ process.terminate()
191
+ except ProcessLookupError:
192
+ pass # Process has already terminated
190
193
  await exited
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pytest-kafka-broker
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: Pytest plugin to run a single-broker Kafka cluster
5
5
  Author-email: Leo Singer <leo.singer@ligo.org>
6
6
  License-Expression: Apache-2.0