File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -259,7 +259,9 @@ def get_term_table_content(self):
259
259
self .visit ("/" )
260
260
self .browser .find_by_css ("#menu_terms" ).mouse_over ()
261
261
self .browser .find_by_id ("term_index" ).first .click ()
262
- css = "#termtable tbody tr"
262
+
263
+ # clear any filters!
264
+ self .browser .find_by_id ("showHideFilters" ).first .click ()
263
265
264
266
# The last column of the table is the "date added", but that's
265
267
# a hassle to check, so ignore it.
@@ -271,8 +273,10 @@ def _to_string(row):
271
273
return ret
272
274
return "; " .join (rowtext [:- 1 ]).strip ()
273
275
276
+ css = "#termtable tbody tr"
274
277
rows = list (self .browser .find_by_css (css ))
275
- return "\n " .join ([_to_string (row ) for row in rows ])
278
+ rowstring = [_to_string (row ) for row in rows ]
279
+ return "\n " .join (rowstring )
276
280
277
281
################################3
278
282
# Reading/rendering
You can’t perform that action at this time.
0 commit comments