mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
chore: cleanup deprecated functions/defines (#7763)
this PR cleans up with some easy, deprecated stuff. i roughly checked that they are no longer in use - by these checks, other deprecated function were kept, eg. dc_provider_new_from_email_with_dns() and dc_chat_is_protected() is still used by deltatouch - to not add noise there, we remove them here on the next cleanup ... for DC_STR_*, however, if they are in used, the corresponding lines should just be removed this will cleanup https://c.delta.chat/deprecated.html as well
This commit is contained in:
@@ -258,9 +258,6 @@ class TestOfflineChat:
|
||||
with pytest.raises(ValueError):
|
||||
ac1.set_stock_translation(dc.const.DC_STR_FILE, "xyz %1$s")
|
||||
ac1._evtracker.get_matching("DC_EVENT_WARNING")
|
||||
with pytest.raises(ValueError):
|
||||
ac1.set_stock_translation(dc.const.DC_STR_CONTACT_NOT_VERIFIED, "xyz %2$s")
|
||||
ac1._evtracker.get_matching("DC_EVENT_WARNING")
|
||||
with pytest.raises(ValueError):
|
||||
ac1.set_stock_translation(500, "xyz %1$s")
|
||||
ac1._evtracker.get_matching("DC_EVENT_WARNING")
|
||||
|
||||
Reference in New Issue
Block a user