diff options
author | Alois Mahdal <amahdal@redhat.com> | 2014-05-06 21:58:31 +0200 |
---|---|---|
committer | Alois Mahdal <amahdal@redhat.com> | 2014-05-07 11:09:52 +0200 |
commit | 7b692ec1616c4c83e89d1be09476be9d7634394c (patch) | |
tree | eb54d3249e66384b8c091b944742ab902b1c3431 /src/account/test/TestAccountInvalidEtc.py | |
parent | 9d2e8d68607690fa938fef8e02a86ec3af3dc8cb (diff) | |
download | openlmi-providers-7b692ec1616c4c83e89d1be09476be9d7634394c.tar.gz openlmi-providers-7b692ec1616c4c83e89d1be09476be9d7634394c.tar.xz openlmi-providers-7b692ec1616c4c83e89d1be09476be9d7634394c.zip |
Improve random_string util function
When writing new test, I find myself constantly computing the
size from desired strength and prefix length, whereas I mostly
don't care about the final size at all (plus, one can usually
see that from surrounding code).
Providing strength simplifies use and the function code.
Diffstat (limited to 'src/account/test/TestAccountInvalidEtc.py')
0 files changed, 0 insertions, 0 deletions