MCPcopy
hub / github.com/django/django / test_i18n_enabled

Method test_i18n_enabled

tests/i18n/tests.py:2205–2208  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2203 mocked_sender.watch_dir.assert_not_called()
2204
2205 def test_i18n_enabled(self):
2206 mocked_sender = mock.MagicMock()
2207 watch_for_translation_changes(mocked_sender)
2208 self.assertGreater(mocked_sender.watch_dir.call_count, 1)
2209
2210 def test_i18n_locale_paths(self):
2211 mocked_sender = mock.MagicMock()

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected