Change pytest.mark.notebooks
This commit is contained in:
Родитель
9b1c3b400c
Коммит
77e8684252
|
@ -9,7 +9,8 @@ from tests.notebooks_common import OUTPUT_NOTEBOOK
|
|||
|
||||
ABS_TOL = 0.2
|
||||
|
||||
@pytest.mark.notebooks
|
||||
@pytest.mark.integration
|
||||
@pytest.mark.azureml
|
||||
def test_bidaf_deep_dive(notebooks,
|
||||
subscription_id,
|
||||
resource_group,
|
||||
|
@ -32,7 +33,8 @@ def test_bidaf_deep_dive(notebooks,
|
|||
assert result == pytest.approx(0.5, abs=ABS_TOL)
|
||||
|
||||
@pytest.mark.usefixtures("teardown_service")
|
||||
@pytest.mark.notebooks
|
||||
@pytest.mark.integration
|
||||
@pytest.mark.azureml
|
||||
def test_bidaf_quickstart(notebooks,
|
||||
subscription_id,
|
||||
resource_group,
|
||||
|
|
|
@ -36,7 +36,8 @@ def baseline_results():
|
|||
"Doc2vec Cosine with Stop Words": 0.4498543211602068,
|
||||
}
|
||||
|
||||
@pytest.mark.notebooks
|
||||
@pytest.mark.integration
|
||||
@pytest.mark.azureml
|
||||
def test_similarity_embeddings_baseline_runs(notebooks, baseline_results):
|
||||
notebook_path = notebooks["similarity_embeddings_baseline"]
|
||||
pm.execute_notebook(notebook_path, OUTPUT_NOTEBOOK)
|
||||
|
@ -45,7 +46,8 @@ def test_similarity_embeddings_baseline_runs(notebooks, baseline_results):
|
|||
assert results[key] == pytest.approx(value, abs=ABS_TOL)
|
||||
|
||||
@pytest.mark.usefixtures("teardown_service")
|
||||
@pytest.mark.notebooks
|
||||
@pytest.mark.integration
|
||||
@pytest.mark.azureml
|
||||
def test_automl_local_runs(notebooks,
|
||||
subscription_id,
|
||||
resource_group,
|
||||
|
|
Загрузка…
Ссылка в новой задаче