Skip to content

Commit 33ae0b7

Browse files
committed
Create test___main__.py
#3
1 parent 830b711 commit 33ae0b7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/test___main__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
def test_main(mocker):
2+
cli = mocker.patch("openapi_python_client.cli.cli")
3+
4+
from openapi_python_client import __main__
5+
6+
cli.assert_called_once()

0 commit comments

Comments
 (0)