File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ dev = [
4444]
4545
4646[project .scripts ]
47- gitingest = " gitingest.cli :main"
47+ gitingest = " gitingest.__main__ :main"
4848
4949[project .urls ]
5050homepage = " https://gitingest.com"
File renamed without changes.
Original file line number Diff line number Diff line change 88import pytest
99from click .testing import CliRunner , Result
1010
11- from gitingest .cli import main
11+ from gitingest .__main__ import main
1212from gitingest .config import MAX_FILE_SIZE , OUTPUT_FILE_NAME
1313
1414
@@ -72,8 +72,8 @@ def test_cli_with_stdout_output() -> None:
7272 # ─── core expectations (stdout) ────────────────────────────────────-
7373 assert result .exit_code == 0 , f"CLI exited with code { result .exit_code } , stderr: { result .stderr } "
7474 assert "---" in result .stdout , "Expected file separator '---' not found in STDOUT"
75- assert "src/gitingest/cli .py" in result .stdout , (
76- "Expected content (e.g., src/gitingest/cli .py) not found in STDOUT"
75+ assert "src/gitingest/__main__ .py" in result .stdout , (
76+ "Expected content (e.g., src/gitingest/__main__ .py) not found in STDOUT"
7777 )
7878 assert not output_file .exists (), f"Output file { output_file } was unexpectedly created."
7979
You can’t perform that action at this time.
0 commit comments