File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
twilio/task_router/capability Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ def test_allow_activity_updates(self):
132
132
self .assertTrue (policy ["allowed" ])
133
133
self .assertIsNotNone (policy ['post_filter' ])
134
134
self .assertEqual ({}, policy ['query_filter' ])
135
- self .assertTrue ( policy ['post_filter' ][ 'ActivitySid ' ])
135
+ self .assertEqual ({}, policy ['post_filter' ])
136
136
137
137
def test_allow_reservation_updates (self ):
138
138
# allow reservation updates
@@ -156,7 +156,7 @@ def test_allow_reservation_updates(self):
156
156
self .assertTrue (policy ["allowed" ])
157
157
self .assertIsNotNone (policy ["post_filter" ])
158
158
self .assertEqual ({}, policy ["query_filter" ])
159
- self .assertTrue ( policy [" post_filter" ][ "ReservationStatus" ])
159
+ self .assertEqual ({}, policy [' post_filter' ])
160
160
161
161
if __name__ == "__main__" :
162
162
unittest .main ()
Original file line number Diff line number Diff line change @@ -153,16 +153,14 @@ def allow_activity_updates(self):
153
153
self .policies .append (self .make_policy (
154
154
self .resource_url ,
155
155
'POST' ,
156
- True ,
157
- post_filter = {'ActivitySid' : REQUIRED }
156
+ True
158
157
)
159
158
)
160
159
def allow_reservation_updates (self ):
161
160
self .policies .append (self .make_policy (
162
161
self .reservations_url ,
163
162
'POST' ,
164
- True ,
165
- post_filter = {'ReservationStatus' : REQUIRED },
163
+ True
166
164
)
167
165
)
168
166
You can’t perform that action at this time.
0 commit comments