@setup({'ifchanged-param01': '{% for n in num %}{% ifchanged n %}..{% endifchanged %}'
                                 '{{ n }}{% endfor %}'})
    def test_ifchanged_param01(self):
        output = self.engine.render_to_string('ifchanged-param01', {'num': (1, 2, 3)})
        self.assertEqual(output, '..1..2..3')
Verify that users may be synchronized.
dataset/ETHPy150Open django/django/tests/template_tests/syntax_tests/test_if_changed.py/IfChangedTagTests.test_ifchanged_param01--crossover with--dataset/ETHPy150Open jgorset/fandjango/tests/test_fandjango.py/TestFacebookMiddleware.test_user_synchronization