def test_select_all_row(self):
        """
        Test Select All Row behaves as expected
        """
        self.goto_user_change()
        first_row_checkbox = self.selenium.find_elements_by_css_selector('.select-all.select-row')[0]
        first_row_checkbox.click()
        model_name = first_row_checkbox.get_attribute('data-model-name')
        related_checkboxes = self.selenium.find_elements_by_css_selector(model_name % '.checkbox.%s')
        for c in related_checkboxes:
            self.assertTrue(c.get_attribute('checked'))
dataset/ETHPy150Open RamezIssac/django-tabular-permissions/tests/test_tabular_permissions/tests.py/TabularPermissionsLiveTest.test_select_all_row/swapped operands of `%`