def test_widget_data_multiple_values(server):
    with metrics_enabled(
        {'TotalLinesOfCode': {}, 'TotalLinesOfCode_Text': {}}
    ):
        response = server.client.post(
            flask.url_for('widget.data'),
            data={
                'diff': file_diff_stat_test.SAMPLE_OUTPUT,
            },
        )
    response_pq = pyquery.PyQuery(response.json['metrics'])
    assert response_pq.text() in 'TotalLinesOfCode_Text'
dataset/ETHPy150Open Yelp/git-code-debt/tests/server/servlets/widget_test.py/test_widget_data_multiple_values/swapped operands of `in`