1e825001b4ddd1ad02cd0bccbc41b4418dab50a4,app/tests/core_tests/test_templatetags.py,,test_project_statistics,#,35

Before Change


        "{% load project_statistics from grandchallenge_tags %}"
        "{% project_statistics %}"
    )
    context = Context()
    context.page = p
    rendered = template.render(context)
    assert "Number of users: 0" in rendered
    assert "["Country", "//Participants"]" in rendered

After Change


        "{% load project_statistics from grandchallenge_tags %}"
        "{% project_statistics %}"
    )
    context = Context({"currentpage": p})
    rendered = template.render(context)
    assert "Number of users: 0" in rendered
    assert "["Country", "//Participants"]" in rendered
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: comic/grand-challenge.org
Commit Name: 1e825001b4ddd1ad02cd0bccbc41b4418dab50a4
Time: 2018-10-19
Author: jamesmeakin@gmail.com
File Name: app/tests/core_tests/test_templatetags.py
Class Name:
Method Name: test_project_statistics


Project Name: hanxiao/bert-as-service
Commit Name: dd3c13d51975d7ca569681dd19639473d19e8e85
Time: 2018-12-14
Author: hanhxiao@tencent.com
File Name: server/bert_serving/server/__init__.py
Class Name: BertWorker
Method Name: run1


Project Name: jazzband/django-debug-toolbar
Commit Name: e403821323d529980407c05da77409c7e1c5c2a0
Time: 2008-09-08
Author: rob@cogit8.org
File Name: debug_toolbar/panels/headers.py
Class Name: HeaderDebugPanel
Method Name: content


Project Name: comic/grand-challenge.org
Commit Name: 1e825001b4ddd1ad02cd0bccbc41b4418dab50a4
Time: 2018-10-19
Author: jamesmeakin@gmail.com
File Name: app/tests/core_tests/test_templatetags.py
Class Name:
Method Name: test_allusers_statistics