@@ -22,7 +22,7 @@ class TestCopyModelAsync(AsyncFormRecognizerTest):
22
22
@GlobalTrainingAccountPreparer (copy = True )
23
23
async def test_copy_model_successful (self , client , container_sas_url , location , resource_id ):
24
24
25
- model = await client .train_model (container_sas_url )
25
+ model = await client .train_model (container_sas_url , use_training_labels = False )
26
26
27
27
target = await client .get_copy_authorization (resource_region = location , resource_id = resource_id )
28
28
@@ -41,7 +41,7 @@ async def test_copy_model_successful(self, client, container_sas_url, location,
41
41
@GlobalTrainingAccountPreparer (copy = True )
42
42
async def test_copy_model_fail (self , client , container_sas_url , location , resource_id ):
43
43
44
- model = await client .train_model (container_sas_url )
44
+ model = await client .train_model (container_sas_url , use_training_labels = False )
45
45
46
46
# give an incorrect region
47
47
target = await client .get_copy_authorization (resource_region = "eastus" , resource_id = resource_id )
@@ -53,7 +53,7 @@ async def test_copy_model_fail(self, client, container_sas_url, location, resour
53
53
@GlobalTrainingAccountPreparer (copy = True )
54
54
async def test_copy_model_transform (self , client , container_sas_url , location , resource_id ):
55
55
56
- model = await client .train_model (container_sas_url )
56
+ model = await client .train_model (container_sas_url , use_training_labels = False )
57
57
58
58
target = await client .get_copy_authorization (resource_region = location , resource_id = resource_id )
59
59
0 commit comments