File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 29
29
@pytest .fixture
30
30
def model ():
31
31
client = automl .AutoMlClient ()
32
- model_name = "test_" + str (uuid .uuid4 ())
32
+ model_name = "test_{}" . format (uuid .uuid4 ()). replace ( "-" , "" )[: 32 ]
33
33
project_location = client .location_path (project_id , compute_region )
34
34
my_model = {
35
35
"display_name" : model_name ,
Original file line number Diff line number Diff line change 27
27
@pytest .fixture
28
28
def model ():
29
29
client = automl .AutoMlClient ()
30
- model_name = "test_" + str (uuid .uuid4 ())
30
+ model_name = "test_{}" . format (uuid .uuid4 ()). replace ( "-" , "" )[: 32 ]
31
31
project_location = client .location_path (project_id , compute_region )
32
32
my_model = {
33
33
"display_name" : model_name ,
@@ -43,4 +43,4 @@ def model():
43
43
44
44
def test_model_create_status_delete (capsys , model ):
45
45
operation_name = model .operation .name
46
- assert operation_name
46
+ assert operation_name
You can’t perform that action at this time.
0 commit comments