Assuming that the access for a system partition is the following:
access = ['--constraint=c1', '-A grp', '-p part']
And the test sets:
self.job.options = ['-C c2&c3']
The the script contains only the combined --constraint option and not the -A and -p from the access:
#SBATCH --constraint=(c1)&(c2&c3)
instead of
#SBATCH --constraint=(c1)&(c2&c3) #SBATCH -A grp #SBATCH -p part
This is related to #3348.