Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tavern/_plugins/mqtt/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ def _on_message(
"""Add any messages received to the queue
Todo:
If the queue is faull trigger an error in main thread somehow
If the queue is full trigger an error in main thread somehow
"""

logger.info("Received mqtt message on %s", message.topic)
Expand Down
1 change: 0 additions & 1 deletion tests/unit/test_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,6 @@ def test_incorrect_value(self, nested_response):
validate_content(nested_response, comparisons)


@pytest.mark.xfail
class TestPykwalifyExtension:
def test_validate_schema_correct(self, nested_response):
correct_schema = dedent(
Expand Down
5 changes: 1 addition & 4 deletions tests/unit/test_marks.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def test_dict_node(self):
"""Test converting ast.Dict nodes"""

# Empty dict
node = ast.Dict(keys=[], values=[], ctx=ast.Load())
node = ast.Dict(keys=[], values=[])
result = _ast_node_to_literal(node)
assert result == {}

Expand All @@ -167,7 +167,6 @@ def test_dict_node(self):
ast.Constant(value="value1"),
ast.Constant(value=2),
],
ctx=ast.Load(),
)
result = _ast_node_to_literal(node)
assert result == {"key1": "value1", "key2": 2}
Expand All @@ -176,7 +175,6 @@ def test_dict_node(self):
inner_dict = ast.Dict(
keys=[ast.Constant(value="inner_key")],
values=[ast.Constant(value="inner_value")],
ctx=ast.Load(),
)
node = ast.Dict(
keys=[
Expand All @@ -187,7 +185,6 @@ def test_dict_node(self):
ast.Constant(value="outer_value"),
inner_dict,
],
ctx=ast.Load(),
)
result = _ast_node_to_literal(node)
assert result == {
Expand Down
Loading