@@ -808,10 +808,10 @@ def test_flags_not_equal_match(mocker, config):
808
808
expected_value = True
809
809
mocked_app_config_schema = {
810
810
"my_feature" : {
811
- "default" : expected_value ,
811
+ "default" : False ,
812
812
"rules" : {
813
813
"tenant id not equals 345345435" : {
814
- "when_match" : True ,
814
+ "when_match" : expected_value ,
815
815
"conditions" : [
816
816
{
817
817
"action" : RuleAction .NOT_EQUALS .value ,
@@ -889,10 +889,10 @@ def test_flags_less_than_match(mocker, config):
889
889
expected_value = True
890
890
mocked_app_config_schema = {
891
891
"my_feature" : {
892
- "default" : expected_value ,
892
+ "default" : False ,
893
893
"rules" : {
894
894
"Date less than 2021.10.31" : {
895
- "when_match" : True ,
895
+ "when_match" : expected_value ,
896
896
"conditions" : [
897
897
{
898
898
"action" : RuleAction .KEY_LESS_THAN_VALUE .value ,
@@ -946,10 +946,10 @@ def test_flags_less_than_or_equal_match_1(mocker, config):
946
946
expected_value = True
947
947
mocked_app_config_schema = {
948
948
"my_feature" : {
949
- "default" : expected_value ,
949
+ "default" : False ,
950
950
"rules" : {
951
951
"Date less than or equal 2021.10.31" : {
952
- "when_match" : True ,
952
+ "when_match" : expected_value ,
953
953
"conditions" : [
954
954
{
955
955
"action" : RuleAction .KEY_LESS_THAN_OR_EQUAL_VALUE .value ,
@@ -974,10 +974,10 @@ def test_flags_less_than_or_equal_match_2(mocker, config):
974
974
expected_value = True
975
975
mocked_app_config_schema = {
976
976
"my_feature" : {
977
- "default" : expected_value ,
977
+ "default" : False ,
978
978
"rules" : {
979
979
"Date less than or equal 2021.10.31" : {
980
- "when_match" : True ,
980
+ "when_match" : expected_value ,
981
981
"conditions" : [
982
982
{
983
983
"action" : RuleAction .KEY_LESS_THAN_OR_EQUAL_VALUE .value ,
@@ -1059,10 +1059,10 @@ def test_flags_greater_than_match(mocker, config):
1059
1059
expected_value = True
1060
1060
mocked_app_config_schema = {
1061
1061
"my_feature" : {
1062
- "default" : expected_value ,
1062
+ "default" : False ,
1063
1063
"rules" : {
1064
1064
"Date greater than 2021.10.31" : {
1065
- "when_match" : True ,
1065
+ "when_match" : expected_value ,
1066
1066
"conditions" : [
1067
1067
{
1068
1068
"action" : RuleAction .KEY_GREATER_THAN_VALUE .value ,
@@ -1116,10 +1116,10 @@ def test_flags_greater_than_or_equal_match_1(mocker, config):
1116
1116
expected_value = True
1117
1117
mocked_app_config_schema = {
1118
1118
"my_feature" : {
1119
- "default" : expected_value ,
1119
+ "default" : False ,
1120
1120
"rules" : {
1121
1121
"Date greater than or equal 2021.10.31" : {
1122
- "when_match" : True ,
1122
+ "when_match" : expected_value ,
1123
1123
"conditions" : [
1124
1124
{
1125
1125
"action" : RuleAction .KEY_GREATER_THAN_OR_EQUAL_VALUE .value ,
@@ -1144,10 +1144,10 @@ def test_flags_greater_than_or_equal_match_2(mocker, config):
1144
1144
expected_value = True
1145
1145
mocked_app_config_schema = {
1146
1146
"my_feature" : {
1147
- "default" : expected_value ,
1147
+ "default" : False ,
1148
1148
"rules" : {
1149
1149
"Date greater than or equal 2021.10.31" : {
1150
- "when_match" : True ,
1150
+ "when_match" : expected_value ,
1151
1151
"conditions" : [
1152
1152
{
1153
1153
"action" : RuleAction .KEY_GREATER_THAN_OR_EQUAL_VALUE .value ,
0 commit comments