Skip to content

Commit 6f5f3bc

Browse files
authored
skip automl model create/delete test (#1608)
* skip model create/delete test * add skip reason
1 parent 371d09e commit 6f5f3bc

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

language/automl/model_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,15 @@
1818
import os
1919

2020
from google.cloud import automl_v1beta1 as automl
21+
import pytest
2122

2223
import automl_natural_language_model
2324

2425
project_id = os.environ["GCLOUD_PROJECT"]
2526
compute_region = "us-central1"
2627

2728

29+
@pytest.mark.skip(reason="creates too many models")
2830
def test_model_create_status_delete(capsys):
2931
# create model
3032
client = automl.AutoMlClient()

translate/automl/model_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,15 @@
1818
import os
1919

2020
from google.cloud import automl_v1beta1 as automl
21+
import pytest
2122

2223
import automl_translation_model
2324

2425
project_id = os.environ["GCLOUD_PROJECT"]
2526
compute_region = "us-central1"
2627

2728

29+
@pytest.mark.skip(reason="creates too many models")
2830
def test_model_create_status_delete(capsys):
2931
# create model
3032
client = automl.AutoMlClient()

vision/automl/model_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,15 @@
1818
import os
1919

2020
from google.cloud import automl_v1beta1 as automl
21+
import pytest
2122

2223
import automl_vision_model
2324

2425
project_id = os.environ["GCLOUD_PROJECT"]
2526
compute_region = "us-central1"
2627

2728

29+
@pytest.mark.skip(reason="creates too many models")
2830
def test_model_create_status_delete(capsys):
2931
# create model
3032
client = automl.AutoMlClient()

0 commit comments

Comments
 (0)