indent assert lines into for loop