Move event_fields filtering to serialize_event

Also make it an inclusive not exclusive filter, as the spec demands.
This commit is contained in:
Kegan Dougal 2016-11-21 17:42:16 +00:00
parent e90fcd9edd
commit f97511a1f3
3 changed files with 119 additions and 59 deletions

View file

@ -114,3 +114,24 @@ class PruneEventTestCase(unittest.TestCase):
'unsigned': {},
}
)
class SerializeEventTestCase(unittest.TestCase):
def test_event_fields_works_with_keys(self):
pass
def test_event_fields_works_with_nested_keys(self):
pass
def test_event_fields_works_with_dot_keys(self):
pass
def test_event_fields_works_with_nested_dot_keys(self):
pass
def test_event_fields_nops_with_unknown_keys(self):
pass
def test_event_fields_nops_with_non_dict_keys(self):
pass