Merge pull request #21577 from edx/BOM-377

BOM-377
This commit is contained in:
Aarif
2019-09-11 15:18:07 +05:00
committed by GitHub

View File

@@ -89,7 +89,7 @@ class TabsPageTests(CourseTestCase):
# remove the middle tab
# (the code needs to handle the case where tabs requested for re-ordering is a subset of the tabs in the course)
removed_tab = tab_ids.pop(num_orig_tabs / 2)
removed_tab = tab_ids.pop(num_orig_tabs // 2)
self.assertEqual(len(tab_ids), num_orig_tabs - 1)
# post the request