'Test to check the total amount of the
purchased items.'

def test_get_total_amount_of_purchased_items(self):

    PaidCourseRegistration.add_to_order(self.cart, self.course_key, mode_slug=CourseMode.HONOR)
    self.cart.purchase()
    total_amount = PaidCourseRegistration.get_total_amount_of_purchased_item(course_key=self.course_key)
    self.assertEqual(total_amount, 40.0)
