File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 66
77# Test valid experiment controlled keyword
88def test_create_experiment_controlled_keyword ():
9- new_keyword = KeywordCreate (key = "test" , value = "keyword" )
9+ new_keyword = KeywordCreate (key = "test" , label = "keyword" )
1010
1111 experiment_controlled_keyword = ExperimentControlledKeywordCreate (
1212 keyword = new_keyword ,
1313 )
1414 assert experiment_controlled_keyword .keyword == new_keyword
1515
1616
17- def test_keyword_with_other_value_and_none_description_fails ():
17+ def test_keyword_with_other_label_and_none_description_fails ():
1818 other_keyword = KeywordCreate (
1919 key = "test" ,
20- value = "other" ,
20+ label = "other" ,
2121 )
2222
2323 with pytest .raises (ValueError ) as exc_info :
@@ -28,10 +28,10 @@ def test_keyword_with_other_value_and_none_description_fails():
2828 assert "Other option does not allow empty description" in str (exc_info .value )
2929
3030
31- def test_keyword_with_other_value_and_description_is_created ():
31+ def test_keyword_with_other_label_and_description_is_created ():
3232 other_keyword = KeywordCreate (
3333 key = "test" ,
34- value = "other" ,
34+ label = "other" ,
3535 )
3636 description = "keyword is other."
3737
You can’t perform that action at this time.
0 commit comments