Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
('/extra/static/value', Template.ANCHOR_END, True),
('/static/value/extra', Template.ANCHOR_END, False),
('/static/value', Template.ANCHOR_BOTH, True),
('extra/static/value', Template.ANCHOR_BOTH, False),
('/static/value/extra', Template.ANCHOR_BOTH, False),
('extra/static/value/extra', None, True),
('extra/non/matching/extra', None, False)
], ids=[
'anchor_start:matching string',
'anchor_start:non-matching string',
'anchor_end:matching string',
'anchor_end:non-matching string',
'anchor_both:matching string',
'anchor_both:non-matching string prefix',
'anchor_both:non-matching string suffix',
'anchor_none:matching string',
'anchor_none:non-matching string'