Skip to content

Commit

Permalink
Corrected indentation in test case.
Browse files Browse the repository at this point in the history
  • Loading branch information
carltongibson committed May 14, 2020
1 parent 1291933 commit 6c19c2c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/admin_changelist/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -1293,12 +1293,14 @@ def test_add_row_selection(self):

# Test amount of rows in the Changelist
rows = self.selenium.find_elements_by_css_selector(
'%s #result_list tbody tr' % form_id)
'%s #result_list tbody tr' % form_id
)
self.assertEqual(len(rows), 1)
row = rows[0]

selection_indicator = self.selenium.find_element_by_css_selector(
'%s .action-counter' % form_id)
'%s .action-counter' % form_id
)
all_selector = self.selenium.find_element_by_id('action-toggle')
row_selector = self.selenium.find_element_by_css_selector(
'%s #result_list tbody tr:first-child .action-select' % form_id
Expand Down

0 comments on commit 6c19c2c

Please sign in to comment.