def METHOD_NAME(self):
    learner_all_groups = [r for r in self.csv_rows if r["username"] == "learnerag"]
    enrolled = learner_all_groups[0]["enrolled"].split(",")
    assert len(enrolled) == CLASSROOMS
    assert "classroom0" in enrolled
    assert "classroom1" in enrolled
    enrolled_learners = [
        r for r in self.csv_rows if r["username"][:12] == "learnerclass"
    ]
    for learner in enrolled_learners:
        class_number = learner["username"][12:13]
        assert learner["enrolled"] == "classroom{}".format(class_number)