`_, runs
inside of Kubernetes, with one Deployment for the webserver and one for the
Stator runner.
+All configuration is done via either environment variables, or online through
+the web interface.
+
Preparation
-----------
diff --git a/tests/activities/models/test_post.py b/tests/activities/models/test_post.py
index baeb55a..d215be0 100644
--- a/tests/activities/models/test_post.py
+++ b/tests/activities/models/test_post.py
@@ -68,6 +68,17 @@ def test_linkify_mentions_remote(identity, remote_identity):
local=True,
)
assert post.safe_content_remote() == "@test@example.com, welcome!
"
+ # Test case insensitivity (remote)
+ post = Post.objects.create(
+ content="Hey @TeSt
",
+ author=identity,
+ local=True,
+ )
+ post.mentions.add(remote_identity)
+ assert (
+ post.safe_content_remote()
+ == 'Hey @test
'
+ )
@pytest.mark.django_db
--
cgit v1.2.3