Show
Ignore:
Timestamp:
08/03/09 17:41:16 (3 years ago)
Author:
tom
Message:

added setup tests and correct encoding on all pages

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • enpraxis.educommons/trunk/enpraxis/educommons/tests/seleniumtests/accountsLogin.py

    r506 r512  
     1# -*- coding: iso-8859-15 -*- 
    12################################################################################## 
    23#    Copyright (c) 2009 Massachusetts Institute of Technology, All rights reserved. 
     
    5051    def test_qa_account(self): 
    5152        sel = self.selenium 
    52         sel.login("qa","qa") 
     53        sel.login("quality","quality") 
    5354        self.failUnless(sel.is_element_present('//a[@id="user-name"]/span[text()="qa"]')) 
    54         self.assertEqual("qa (QA)",sel.get_text('//li[a[@id="user-name"]]')) 
     55        self.assertEqual("quality (QA)",sel.get_text('//li[a[@id="user-name"]]')) 
    5556 
    5657    def test_publisher_account(self):