Improve User tests #50

Closed
opened 2017-03-29 23:54:37 -04:00 by jking · 1 comment
Owner

Testing of the User class is incomplete. Many error conditions are not tested for:

  • Authenticate a missing user (should return false without exceptions)
  • Get properties of a missing user (exception)
  • Set properties of a missing user (exception)
  • Get rights of a missing user (should return RIGHTS_NONE without exceptions)
  • Set rights of a missing user (exception)
  • The structure returned by list() is not valiadated
Testing of the User class is incomplete. Many error conditions are not tested for: - Authenticate a missing user (should return false without exceptions) - Get properties of a missing user (exception) - Set properties of a missing user (exception) - Get rights of a missing user (should return RIGHTS_NONE without exceptions) - Set rights of a missing user (exception) - The structure returned by list() is not valiadated
Author
Owner

The entire User class will be rewritten to accommodate issue #52, so postponing this for now.

The entire User class will be rewritten to accommodate issue #52, so postponing this for now.
jking modified the milestone from 0.2.0 to Future 2017-09-11 15:28:50 -04:00
jking removed the due date 0000-12-31 2018-08-15 09:50:16 -04:00
jking modified the milestone from Future to 0.5.0 2018-11-03 14:04:31 -04:00
jking closed this issue 2018-11-04 12:07:08 -05:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: MensBeam/Arsse#50
No description provided.