Homec4science

testutils: login and logout in InvenioTestCase

Authored by kuncar on Jun 21 2013, 15:28.

Description

testutils: login and logout in InvenioTestCase

  • Moves methods login and logout to InvenioTestCase.
  • One can use self.login('romeo', 'r123omeo') inside tests instead of manually filling and posting the form.

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>

Details

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:e15ebdbbefba: testutils: login and logout in InvenioTestCase (authored by Jiri Kuncar <jiri.kuncar@cern.ch>).Jun 27 2013, 17:17