##// END OF EJS Templates
auth: don't break hashing in case of user with empty password....
auth: don't break hashing in case of user with empty password. In some cases such as LDAP user created via external scripts users might set the passwords to empty. The hashing uses the md5(password_hash) to store reference to detect password changes and forbid using the same password. In case of pure LDAP users this is not valid, and we shouldn't raise Errors in such case. This change makes it work for empty passwords now.

File last commit:

r271:401985cc default
r2203:8a18c3c3 default
Show More
index.rst
28 lines | 694 B | text/x-rst | RstLexer

Testing and Specifications

We have a quite large test suite inside of :file:`rhodecode/tests` which is a mix of unit tests and functional or integration tests. More details are in :ref:`test-unit-and-functional`.

Apart from that, we are starting to apply "Specification by Example" and maintain a collection of such specifications together with an implementation so that it can be validated in an automatic way. The files can be found in :file:`acceptance_tests`. More details are in :ref:`test-spec-by-example`.