mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 05:53:43 +00:00
linkifiers: Remove outdated comment in tests.
After34e39248fc, we do support generic GitHub URLs. This test and the comment above it were added in043baa2af8.
This commit is contained in:
committed by
Tim Abbott
parent
2ea330b025
commit
a1e75edb8a
@@ -88,9 +88,6 @@ class RealmFilterTest(ZulipTestCase):
|
|||||||
self.assert_json_success(result)
|
self.assert_json_success(result)
|
||||||
self.assertIsNotNone(re.match(data["pattern"], "!123"))
|
self.assertIsNotNone(re.match(data["pattern"], "!123"))
|
||||||
|
|
||||||
# This is something we'd like to support, but don't currently;
|
|
||||||
# this test is a reminder of something we should allow in the
|
|
||||||
# future.
|
|
||||||
data["pattern"] = r"(?P<org>[a-zA-Z0-9_-]+)/(?P<repo>[a-zA-Z0-9_-]+)#(?P<id>[0-9]+)"
|
data["pattern"] = r"(?P<org>[a-zA-Z0-9_-]+)/(?P<repo>[a-zA-Z0-9_-]+)#(?P<id>[0-9]+)"
|
||||||
data["url_format_string"] = "https://github.com/%(org)s/%(repo)s/issue/%(id)s"
|
data["url_format_string"] = "https://github.com/%(org)s/%(repo)s/issue/%(id)s"
|
||||||
result = self.client_post("/json/realm/filters", info=data)
|
result = self.client_post("/json/realm/filters", info=data)
|
||||||
|
|||||||
Reference in New Issue
Block a user