moto/tests/test_sns
Iain Bullard d3d9557d49 Implement basic SNS message filtering (#1521)
* Add support for FilterPolicy to sns subscription set_filter_attributes

* Add basic support for sns message filtering

This adds support for exact string value matching along with AND/OR
logic as described here:

https://docs.aws.amazon.com/sns/latest/dg/message-filtering.html

It does not provide support for:
- Anything-but string matching
- Prefix string matching
- Numeric Value Matching

The above filter policies (if configured) will not match messages.
2018-03-21 08:49:11 -07:00
..
test_application_boto3.py General tidy up 2017-09-21 21:16:00 +01:00
test_application.py Cleanup SNS exceptions. Closes #751. 2017-03-16 22:28:30 -04:00
test_publishing_boto3.py Implement basic SNS message filtering (#1521) 2018-03-21 08:49:11 -07:00
test_publishing.py add subject support (#1387) 2017-12-10 21:59:04 +00:00
test_server.py SNS create_topic should only accept valid characters (#1329) 2017-11-13 18:27:11 +00:00
test_subscriptions_boto3.py Implement basic SNS message filtering (#1521) 2018-03-21 08:49:11 -07:00
test_subscriptions.py General tidy up 2017-09-21 21:16:00 +01:00
test_topics_boto3.py SNS create_topic should only accept valid characters (#1329) 2017-11-13 18:27:11 +00:00
test_topics.py Fix tests for py26 and py3. 2017-02-27 20:53:57 -05:00