mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
tests: Add tests to update visibility policy when target topic is empty.
This commit adds a new test to check how the visibility policy updates when moving messages to a topic that didn't exist previously. This test also helps us adding coverage for the code which just skips setting visibility_policy if there is no need to update the value because both previous and new value of visibility policy is INHERIT. The "actions/message_edit.py" file has 100% coverage now and thus is removed from "not_yet_fully_covered" list.
This commit is contained in:
@@ -75,7 +75,6 @@ not_yet_fully_covered = [
|
||||
"analytics/views/stats.py",
|
||||
"analytics/views/support.py",
|
||||
# Major lib files should have 100% coverage
|
||||
"zerver/actions/message_edit.py",
|
||||
"zerver/actions/presence.py",
|
||||
"zerver/lib/addressee.py",
|
||||
"zerver/lib/markdown/__init__.py",
|
||||
|
Reference in New Issue
Block a user