def test_maybe_init_is_main(cli_mock: Mock) -> None: """Test cli called when file is main.""" cli_module.maybe_init() cli_mock.assert_called()