Skip to content

Commit d46c86f

Browse files
committed
fix: DecideBackendByTarget tests after last refactor
1 parent 03c6b1c commit d46c86f

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

tests/satosa/micro_services/test_custom_routing.py

-14
Original file line numberDiff line numberDiff line change
@@ -190,20 +190,6 @@ def test_missing_state(self, target_context):
190190
decide_service.backend_by_entityid(target_context)
191191

192192

193-
def test_missing_entityid(self, target_context):
194-
decide_service = self.create_decide_service(self.rules)
195-
target_context.request = {
196-
# 'entityID': None,
197-
}
198-
target_context.state['ROUTER'] = 'Saml2'
199-
200-
req = InternalData(requester="test_requester")
201-
assert decide_service.process(target_context, req)
202-
203-
with pytest.raises(CustomRoutingError):
204-
decide_service.backend_by_entityid(target_context)
205-
206-
207193
def test_unmatching_target(self, target_context):
208194
"""
209195
It would rely on the default backend

0 commit comments

Comments
 (0)