'Asserts that the expected position and the position in the response are the same'

def _assert_correct_position(self, response, expected_position):

    self.assertIn('data-position="{}"'.format(expected_position), response.content)
