In a deal struck with prosecution, former Fermi High teacher Tyler Wells pleaded no contest to two counts of fourth-degree sexual assault in Enfield Superior Court Thursday morning -- charges stemming from an inappropriate relationship with a student.