Extract get_turtle_message().

This seems like kind of a silly function to extract
to topic.py, but it will theoretically help us sweep
"subject" if we change the DB.

It had test coverage.
This commit is contained in:
Steve Howell
2018-11-11 19:35:31 +00:00
committed by Tim Abbott
parent cc33e4cd0c
commit eb4d279bbc
3 changed files with 11 additions and 5 deletions

View File

@@ -40,7 +40,6 @@ FILES_WITH_LEGACY_SUBJECT = {
# TRY TO FIX THESE! If you can't fix them, try to
# add comments here and/or in the file itself about
# why sweeping subject is tricky.
'zerver/lib/onboarding.py',
'zerver/lib/stream_topic.py',
# This has lots of query data embedded, so it's hard