This seems very defensive... You just set the variable, why do you assert it without doing anything else in between?