Skip to content

Commit

Permalink
Add warning
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelboulton committed Oct 29, 2023
1 parent d1496b7 commit abee27a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
8 changes: 1 addition & 7 deletions scripts/smoke.bash
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,4 @@ tox --parallel -c tox.ini \
-e py3mypy

tox -c tox-integration.ini \
-e py3-generic \
-e py3-mqtt \
-e py3-grpc \
-e py3-advanced \
-e py3-cookies \
-e py3-components \
-e py3-hooks
-e py3-generic,py3-grpc,py3-mqtt
7 changes: 5 additions & 2 deletions tavern/_core/pytest/item.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import logging
import pathlib
from typing import Optional, Tuple
from typing import MutableMapping, Optional, Tuple

import attr
import yaml
Expand Down Expand Up @@ -39,8 +39,11 @@ class YamlItem(pytest.Item):
_patched_yaml = False

def __init__(
self, *, name: str, parent, spec, path: pathlib.Path, **kwargs
self, *, name: str, parent, spec: MutableMapping, path: pathlib.Path, **kwargs
) -> None:
if "grpc" in spec:
logger.warning("Tavern grpc support is in an experimental stage")

super().__init__(name, parent, **kwargs)
self.path = path
self.spec = spec
Expand Down

0 comments on commit abee27a

Please sign in to comment.