'Test snapshot list pagination with specific limit.'

def test_list_snapshots_next_link_with_limit(self):

    (volume, snaps) = self._create_db_snapshots(2)
    self._assert_list_next({'limit': ['1'], 'marker': [snaps[0].id]}, limit=1)
    expected = {'limit': ['1'], 'marker': [snaps[1].id]}
    self._assert_list_next(expected, limit=1, marker=snaps[0].id)
    self._assert_list_next(limit=1, marker=snaps[1].id)
