Skip to content

Commit

Permalink
importorskip in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
roma-frolov committed Sep 17, 2024
1 parent 2d12339 commit 050973d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/prometheus/confluent/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import pytest

pytest.importorskip("aio_pika")
pytest.importorskip("confluent_kafka")
2 changes: 1 addition & 1 deletion tests/prometheus/kafka/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import pytest

pytest.importorskip("aio_pika")
pytest.importorskip("aiokafka")
3 changes: 3 additions & 0 deletions tests/prometheus/nats/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import pytest

pytest.importorskip("nats")
2 changes: 1 addition & 1 deletion tests/prometheus/redis/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import pytest

pytest.importorskip("aio_pika")
pytest.importorskip("redis")

0 comments on commit 050973d

Please sign in to comment.