'Verify that we get a random integer within the specified range
but not in a list of used ids.'

@ddt.data(10)
def test_used_ids(self, times):

    minimum = 1
    maximum = times
    used_ids = {2, 4, 6, 8}
    for __ in range(times):
        int_id = generate_int_id(minimum, maximum, used_ids)
        self.assertIn(int_id, list((set(range(minimum, (maximum + 1))) - used_ids)))
