def _assert_allows(self, response, *expected_methods):
        response_allows = set(response['Allow'].split(', '))
        self.assertEqual(set(expected_methods + ('OPTIONS',)), response_allows)
if order_by isn't a valid value, order by click_count.
dataset/ETHPy150Open django/django/tests/generic_views/test_base.py/ViewTest._assert_allows--crossover with--dataset/ETHPy150Open ofa/connect/open_connect/media/tests/test_views.py/URLPopularityViewTest.test_order_by_is_click_count_if_value_is_invalid