kyu_7.password_validator package

Submodules

kyu_7.password_validator.password module

kyu_7.password_validator.password.password(string: str) → bool[source]

Your job is to create a simple password validation function, as seen on many websites.

You are permitted to use any methods to validate the password.

The rules for a valid password are as follows:

  1. There needs to be at least 1 uppercase letter.
    1. There needs to be at least 1 lowercase letter.

    2. There needs to be at least 1 number.

    3. The password needs to be at least 8 characters long.

Parameters

string

Returns

kyu_7.password_validator.test_password module

class kyu_7.password_validator.test_password.PasswordTestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

Testing password function

test_password()[source]

Testing password function with various test inputs :return:

Module contents