diff options
author | Richard van der Hoff <richard@matrix.org> | 2017-10-20 23:51:07 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2017-10-21 00:30:39 +0100 |
commit | 1135193dfde2a844d38dab4bd50a69658891abcb (patch) | |
tree | 1e8304fc8431038e40d8357266086e18b809d66d /tests | |
parent | Allow = in mxids and groupids (diff) | |
download | synapse-1135193dfde2a844d38dab4bd50a69658891abcb.tar.xz |
Validate group ids when parsing
May as well do it whenever we parse a Group ID. We check the sigil and basic structure here so it makes sense to check the grammar in the same place.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_types.py | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/tests/test_types.py b/tests/test_types.py |