Skip to content

Commit

Permalink
Cut type_check_imports_dot_config
Browse files Browse the repository at this point in the history
  • Loading branch information
nickdrozd committed Jul 7, 2023
1 parent 4057067 commit abcfcc2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
7 changes: 0 additions & 7 deletions tests/pyreverse/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,6 @@ def no_standalone_dot_config() -> PyreverseConfig:
)


@pytest.fixture()
def type_check_imports_dot_config() -> PyreverseConfig:
return PyreverseConfig(
output_format="dot",
)


@pytest.fixture()
def puml_config() -> PyreverseConfig:
return PyreverseConfig(
Expand Down
6 changes: 3 additions & 3 deletions tests/pyreverse/test_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,15 @@ def setup_no_standalone_dot(

@pytest.fixture()
def setup_type_check_imports_dot(
type_check_imports_dot_config: PyreverseConfig, get_project: GetProjectCallable
default_config: PyreverseConfig, get_project: GetProjectCallable
) -> Iterator[None]:
writer = DiagramWriter(type_check_imports_dot_config)
writer = DiagramWriter(default_config)
project = get_project(
os.path.join(os.path.dirname(__file__), "functional", "package_diagrams"),
name="type_check_imports",
)

yield from _setup(project, type_check_imports_dot_config, writer)
yield from _setup(project, default_config, writer)


@pytest.fixture()
Expand Down

0 comments on commit abcfcc2

Please sign in to comment.