Skip to content

Commit

Permalink
test: found bug
Browse files Browse the repository at this point in the history
  • Loading branch information
sujuka99 committed Oct 11, 2023
1 parent 992b6ad commit e36f622
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/pipeline/test_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def test_no_user_defined_components(self, snapshot: SnapshotTest):
enriched_pipeline: dict = yaml.safe_load(result.stdout)
snapshot.assert_match(enriched_pipeline, "test-pipeline")

def test_kafka_connect_sink_weave_from_topics(self, snapshot: SnapshotTest):
def test_kafka_connect_sink_weave_from_topics(self, snapshot: SnapshotTest): # INTERFERES WITH test_with_env_defaults
"""Parse Connector topics from previous component to section."""
result = runner.invoke(
app,
Expand Down
6 changes: 3 additions & 3 deletions tests/utils/test_doc_gen.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from pathlib import Path
from typing import Any
from pydantic_core import PydanticUndefined

import pytest

Expand All @@ -18,9 +19,8 @@ class TestEnvDocGen:
def test_collect_fields(self):
expected: list[Any] = [
"not_nested_field",
"attr",
Ellipsis,
Ellipsis,
PydanticUndefined,
PydanticUndefined,
]
actual = [
field_value.default for _, field_value in collect_fields(ParentSettings)
Expand Down

0 comments on commit e36f622

Please sign in to comment.