We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cb2167 commit 7d295aaCopy full SHA for 7d295aa
.internal/pre_commit_tools/auto_add_tests.py
@@ -78,16 +78,13 @@ def auto_create_test(notebook_file_path: Path) -> None:
78
def create_test_content(notebook_file_path: Path) -> str:
79
return f"""from tests.utils_for_testbook import (
80
validate_quantum_program_size,
81
- validate_quantum_model,
82
wrap_testbook,
83
)
84
from testbook.client import TestbookNotebookClient
85
86
87
@wrap_testbook("{notebook_file_path.stem}", timeout_seconds={DEFAULT_TIMEOUTS_SECONDS})
88
def test_notebook(tb: TestbookNotebookClient) -> None:
89
- # test models
90
- validate_quantum_model(tb.ref("qmod"))
91
# test quantum programs
92
validate_quantum_program_size(
93
tb.ref_pydantic("qprog"),
0 commit comments