Skip to content

Commit a29816f

Browse files
committed
Fix tests
1 parent 558ae79 commit a29816f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_script.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@
66
import pytest
77

88
from pydantic2ts import generate_typescript_defs
9-
from pydantic2ts.cli.script import DEBUG, V2, parse_cli_args
9+
from pydantic2ts.cli.script import V2, parse_cli_args
1010

1111
version = "v2" if V2 else "v1"
1212

13+
DEBUG = os.environ.get("DEBUG", False)
14+
1315

1416
def _results_directory() -> str:
1517
return os.path.join(os.path.dirname(os.path.realpath(__file__)), "expected_results")

0 commit comments

Comments
 (0)