Here you're using instance variables to store the constants you'll need later in the test.  For flexibility, I usually use a different pattern:

1) Define class constants such as `STUDENT_INFO = [('view@test.com', 'foo'), ('view2@test.com', 'foo')]`
2) In the `setUp()` method, loop over `STUDENT_INFO` and dynamically create the students:

    for (email, password) in self.STUDENT_INFO:
        self.create_account(email, password)

3) In test cases, refer to self.STUDENT_INFO to make assertions.

The advantage is you put all the test fixture info in one place, and it's easy to add more students as needed if the test requirements change.