@@ -3742,20 +3742,23 @@ def test_parse_conversation_model_path():
3742
3742
def test_conversation_model_evaluation_path ():
3743
3743
project = "squid"
3744
3744
conversation_model = "clam"
3745
- expected = "projects/{project}/conversationModels/{conversation_model}/evaluations/evaluation" .format (
3745
+ evaluation = "whelk"
3746
+ expected = "projects/{project}/conversationModels/{conversation_model}/evaluations/{evaluation}" .format (
3746
3747
project = project ,
3747
3748
conversation_model = conversation_model ,
3749
+ evaluation = evaluation ,
3748
3750
)
3749
3751
actual = ConversationModelsClient .conversation_model_evaluation_path (
3750
- project , conversation_model
3752
+ project , conversation_model , evaluation
3751
3753
)
3752
3754
assert expected == actual
3753
3755
3754
3756
3755
3757
def test_parse_conversation_model_evaluation_path ():
3756
3758
expected = {
3757
- "project" : "whelk" ,
3758
- "conversation_model" : "octopus" ,
3759
+ "project" : "octopus" ,
3760
+ "conversation_model" : "oyster" ,
3761
+ "evaluation" : "nudibranch" ,
3759
3762
}
3760
3763
path = ConversationModelsClient .conversation_model_evaluation_path (** expected )
3761
3764
@@ -3765,9 +3768,9 @@ def test_parse_conversation_model_evaluation_path():
3765
3768
3766
3769
3767
3770
def test_document_path ():
3768
- project = "oyster "
3769
- knowledge_base = "nudibranch "
3770
- document = "cuttlefish "
3771
+ project = "cuttlefish "
3772
+ knowledge_base = "mussel "
3773
+ document = "winkle "
3771
3774
expected = "projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}" .format (
3772
3775
project = project ,
3773
3776
knowledge_base = knowledge_base ,
@@ -3779,9 +3782,9 @@ def test_document_path():
3779
3782
3780
3783
def test_parse_document_path ():
3781
3784
expected = {
3782
- "project" : "mussel " ,
3783
- "knowledge_base" : "winkle " ,
3784
- "document" : "nautilus " ,
3785
+ "project" : "nautilus " ,
3786
+ "knowledge_base" : "scallop " ,
3787
+ "document" : "abalone " ,
3785
3788
}
3786
3789
path = ConversationModelsClient .document_path (** expected )
3787
3790
@@ -3791,7 +3794,7 @@ def test_parse_document_path():
3791
3794
3792
3795
3793
3796
def test_common_billing_account_path ():
3794
- billing_account = "scallop "
3797
+ billing_account = "squid "
3795
3798
expected = "billingAccounts/{billing_account}" .format (
3796
3799
billing_account = billing_account ,
3797
3800
)
@@ -3801,7 +3804,7 @@ def test_common_billing_account_path():
3801
3804
3802
3805
def test_parse_common_billing_account_path ():
3803
3806
expected = {
3804
- "billing_account" : "abalone " ,
3807
+ "billing_account" : "clam " ,
3805
3808
}
3806
3809
path = ConversationModelsClient .common_billing_account_path (** expected )
3807
3810
@@ -3811,7 +3814,7 @@ def test_parse_common_billing_account_path():
3811
3814
3812
3815
3813
3816
def test_common_folder_path ():
3814
- folder = "squid "
3817
+ folder = "whelk "
3815
3818
expected = "folders/{folder}" .format (
3816
3819
folder = folder ,
3817
3820
)
@@ -3821,7 +3824,7 @@ def test_common_folder_path():
3821
3824
3822
3825
def test_parse_common_folder_path ():
3823
3826
expected = {
3824
- "folder" : "clam " ,
3827
+ "folder" : "octopus " ,
3825
3828
}
3826
3829
path = ConversationModelsClient .common_folder_path (** expected )
3827
3830
@@ -3831,7 +3834,7 @@ def test_parse_common_folder_path():
3831
3834
3832
3835
3833
3836
def test_common_organization_path ():
3834
- organization = "whelk "
3837
+ organization = "oyster "
3835
3838
expected = "organizations/{organization}" .format (
3836
3839
organization = organization ,
3837
3840
)
@@ -3841,7 +3844,7 @@ def test_common_organization_path():
3841
3844
3842
3845
def test_parse_common_organization_path ():
3843
3846
expected = {
3844
- "organization" : "octopus " ,
3847
+ "organization" : "nudibranch " ,
3845
3848
}
3846
3849
path = ConversationModelsClient .common_organization_path (** expected )
3847
3850
@@ -3851,7 +3854,7 @@ def test_parse_common_organization_path():
3851
3854
3852
3855
3853
3856
def test_common_project_path ():
3854
- project = "oyster "
3857
+ project = "cuttlefish "
3855
3858
expected = "projects/{project}" .format (
3856
3859
project = project ,
3857
3860
)
@@ -3861,7 +3864,7 @@ def test_common_project_path():
3861
3864
3862
3865
def test_parse_common_project_path ():
3863
3866
expected = {
3864
- "project" : "nudibranch " ,
3867
+ "project" : "mussel " ,
3865
3868
}
3866
3869
path = ConversationModelsClient .common_project_path (** expected )
3867
3870
@@ -3871,8 +3874,8 @@ def test_parse_common_project_path():
3871
3874
3872
3875
3873
3876
def test_common_location_path ():
3874
- project = "cuttlefish "
3875
- location = "mussel "
3877
+ project = "winkle "
3878
+ location = "nautilus "
3876
3879
expected = "projects/{project}/locations/{location}" .format (
3877
3880
project = project ,
3878
3881
location = location ,
@@ -3883,8 +3886,8 @@ def test_common_location_path():
3883
3886
3884
3887
def test_parse_common_location_path ():
3885
3888
expected = {
3886
- "project" : "winkle " ,
3887
- "location" : "nautilus " ,
3889
+ "project" : "scallop " ,
3890
+ "location" : "abalone " ,
3888
3891
}
3889
3892
path = ConversationModelsClient .common_location_path (** expected )
3890
3893
0 commit comments