We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 185bb83 commit a04f0d6Copy full SHA for a04f0d6
tests/redis/test_redis_service.py
@@ -1,5 +1,4 @@
1
import logging
2
-import warnings
3
4
import pytest
5
from redis import Redis
@@ -16,13 +15,14 @@
16
15
logger = logging.getLogger("specmatic.redis.mock")
17
logger.setLevel(logging.DEBUG)
18
+SPECMATIC_REDIS_VERSION = '0.9.4'
19
20
class TestRedisService:
21
22
@pytest.fixture(scope="class")
23
def redis_service(self):
24
container = (
25
- DockerContainer("specmatic/specmatic-redis:latest")
+ DockerContainer(f"specmatic/specmatic-redis:{SPECMATIC_REDIS_VERSION}")
26
.with_command(f"virtualize --host {REDIS_HOST} --port {REDIS_PORT} --data {STUB_DATA_DIR}")
27
.with_exposed_ports(REDIS_PORT)
28
.with_volume_mapping(STUB_DATA_DIR, STUB_DATA_DIR)
0 commit comments