pep8 improvements on bok-choy tests.

@jzoldak @muhammad-ammar @clytwynec 
@clytwynec yeah...agreed with your point, but that's not what pep8 is thinking as far as I can see. Here's the violation: https://jenkins.testeng.edx.org/job/edx-all-tests-auto-master/SHARD=1,TEST_SUITE=quality/2277/violations/file/common/test/acceptance/pages/lms/peer_confirm.py/

@singingwolfboy Agree with you as well. This can be refactored. I'll take a look.