Open radzhome opened 7 years ago
$ nosetests -v -s --cover-html --cover-html-dir=htmlcov --cover-erase --with-coverage --cover-package=lib --logging-filter=root lib/security/* test_get_external_customer_id (tests.lib.security.partners.test_grs.TestGrsAuth) ... ok test_validate_expiration_false (tests.lib.security.partners.test_grs.TestGrsAuth) ... ok test_validate_expiration_true (tests.lib.security.partners.test_grs.TestGrsAuth) ... ok test_validate_required_fields_false (tests.lib.security.partners.test_grs.TestGrsAuth) ... ok test_validate_required_fields_true (tests.lib.security.partners.test_grs.TestGrsAuth) ... ok test_get_external_customer_id (tests.lib.security.partners.test_kula.TestKulaAuth) ... ok test_validate_required_fields_false (tests.lib.security.partners.test_kula.TestKulaAuth) ... ok test_validate_required_fields_true (tests.lib.security.partners.test_kula.TestKulaAuth) ... ok test_get_external_customer_id (tests.lib.security.partners.test_scene.TestSceneAuth) ... ok test_validate_expiration_false (tests.lib.security.partners.test_scene.TestSceneAuth) ... ok test_validate_expiration_true (tests.lib.security.partners.test_scene.TestSceneAuth) ... ok test_validate_required_fields_false (tests.lib.security.partners.test_scene.TestSceneAuth) ... ok test_validate_required_fields_true (tests.lib.security.partners.test_scene.TestSceneAuth) ... ok test_get_external_customer_id (tests.lib.security.partners.test_spent.TestSpentAuth) ... ok test_validate_expiration_false (tests.lib.security.partners.test_spent.TestSpentAuth) ... ok test_validate_expiration_true (tests.lib.security.partners.test_spent.TestSpentAuth) ... ok test_validate_required_fields_false (tests.lib.security.partners.test_spent.TestSpentAuth) ... ok test_validate_required_fields_true (tests.lib.security.partners.test_spent.TestSpentAuth) ... ok test_grs (tests.lib.security.test_partner_authentication.TestPartnerAuth) ... ok test_kula (tests.lib.security.test_partner_authentication.TestPartnerAuth) ... ok test_scene (tests.lib.security.test_partner_authentication.TestPartnerAuth) ... ok test_spent (tests.lib.security.test_partner_authentication.TestPartnerAuth) ... ok test_grs (tests.lib.security.test_partner_authentication.TestPartnerAuth) ... ok test_kula (tests.lib.security.test_partner_authentication.TestPartnerAuth) ... ok test_scene (tests.lib.security.test_partner_authentication.TestPartnerAuth) ... ok test_spent (tests.lib.security.test_partner_authentication.TestPartnerAuth) ... ok test_generate_random (tests.lib.security.test_passwords.TestPasswords) ... ok test_matches (tests.lib.security.test_passwords.TestPasswords) ... ok test_too_long (tests.lib.security.test_passwords.TestPasswords) ... ok test_too_short (tests.lib.security.test_passwords.TestPasswords) ... ok test_validate_password (tests.lib.security.test_passwords.TestPasswords) ... ok test_generate_random (tests.lib.security.test_passwords.TestPasswords) ... ok test_matches (tests.lib.security.test_passwords.TestPasswords) ... ok test_too_long (tests.lib.security.test_passwords.TestPasswords) ... ok test_too_short (tests.lib.security.test_passwords.TestPasswords) ... ok test_validate_password (tests.lib.security.test_passwords.TestPasswords) ... ok test_encode_decode (tests.lib.security.test_security.TestSecurity) ... ok test_generate_password (tests.lib.security.test_security.TestSecurity) ... ok test_generate_token (tests.lib.security.test_security.TestSecurity) ... ok test_validate_password_1 (tests.lib.security.test_security.TestSecurity) ... ok test_validate_password_2 (tests.lib.security.test_security.TestSecurity) ... ok test_validate_password_3 (tests.lib.security.test_security.TestSecurity) ... ok test_validate_password_4 (tests.lib.security.test_security.TestSecurity) ... ok test_validate_password_5 (tests.lib.security.test_security.TestSecurity) ... ok test_encode_decode (tests.lib.security.test_security.TestSecurity) ... ok test_generate_password (tests.lib.security.test_security.TestSecurity) ... ok test_generate_token (tests.lib.security.test_security.TestSecurity) ... ok test_validate_password_1 (tests.lib.security.test_security.TestSecurity) ... ok test_validate_password_2 (tests.lib.security.test_security.TestSecurity) ... ok test_validate_password_3 (tests.lib.security.test_security.TestSecurity) ... ok test_validate_password_4 (tests.lib.security.test_security.TestSecurity) ... ok test_validate_password_5 (tests.lib.security.test_security.TestSecurity) ... ok Name Stmts Miss Cover --------------------------------------------------------------- lib/fanxchange/common/constants.py 97 16 84% lib.py 0 0 100% lib/fanxchange.py 0 0 100% lib/fanxchange/api.py 0 0 100% lib/fanxchange/api/helpers.py 173 133 23% lib/fanxchange/common.py 6 0 100% lib/fanxchange/common/base.py 104 89 14% lib/fanxchange/common/db_utils.py 137 114 17% lib/fanxchange/common/emailing_system.py 372 335 10% lib/fanxchange/common/services.py 177 120 32% lib/fanxchange/common/ticket_authority.py 22 7 68% lib/security.py 0 0 100% lib/security/aes_cipher.py 19 0 100% lib/security/constants.py 3 0 100% lib/security/partner_authentication.py 23 5 78% lib/security/partners.py 0 0 100% lib/security/partners/base.py 48 3 94% lib/security/partners/grs.py 21 0 100% lib/security/partners/kula.py 9 0 100% lib/security/partners/scene.py 22 0 100% lib/security/partners/spent.py 21 0 100% lib/security/passwords.py 19 0 100% lib/security/security.py 35 0 100% lib/utils.py 3 0 100% lib/utils/env.py 21 9 57% lib/utils/jsonencoder.py 12 7 42% lib/utils/logfilter.py 3 1 67% lib/utils/timezone.py 25 15 40% --------------------------------------------------------------- TOTAL 1372 854 38% ---------------------------------------------------------------------- Ran 52 tests in 0.056s $ sudo pip install nose -U Collecting nose Downloading nose-1.3.7-py2-none-any.whl (154kB) 100% |████████████████████████████████| 163kB 733kB/s Installing collected packages: nose Found existing installation: nose 1.3.0 Uninstalling nose-1.3.0: Successfully uninstalled nose-1.3.0 Successfully installed nose-1.3.7 $ nosetests -v -s --cover-html --cover-html-dir=htmlcov --cover-erase --with-coverage --cover-package=lib --logging-filter=root lib/security/* test_get_external_customer_id (tests.lib.security.partners.test_grs.TestGrsAuth) ... ok test_validate_expiration_false (tests.lib.security.partners.test_grs.TestGrsAuth) ... ok test_validate_expiration_true (tests.lib.security.partners.test_grs.TestGrsAuth) ... ok test_validate_required_fields_false (tests.lib.security.partners.test_grs.TestGrsAuth) ... ok test_validate_required_fields_true (tests.lib.security.partners.test_grs.TestGrsAuth) ... ok test_get_external_customer_id (tests.lib.security.partners.test_kula.TestKulaAuth) ... ok test_validate_required_fields_false (tests.lib.security.partners.test_kula.TestKulaAuth) ... ok test_validate_required_fields_true (tests.lib.security.partners.test_kula.TestKulaAuth) ... ok test_get_external_customer_id (tests.lib.security.partners.test_scene.TestSceneAuth) ... ok test_validate_expiration_false (tests.lib.security.partners.test_scene.TestSceneAuth) ... ok test_validate_expiration_true (tests.lib.security.partners.test_scene.TestSceneAuth) ... ok test_validate_required_fields_false (tests.lib.security.partners.test_scene.TestSceneAuth) ... ok test_validate_required_fields_true (tests.lib.security.partners.test_scene.TestSceneAuth) ... ok test_get_external_customer_id (tests.lib.security.partners.test_spent.TestSpentAuth) ... ok test_validate_expiration_false (tests.lib.security.partners.test_spent.TestSpentAuth) ... ok test_validate_expiration_true (tests.lib.security.partners.test_spent.TestSpentAuth) ... ok test_validate_required_fields_false (tests.lib.security.partners.test_spent.TestSpentAuth) ... ok test_validate_required_fields_true (tests.lib.security.partners.test_spent.TestSpentAuth) ... ok test_grs (tests.lib.security.test_partner_authentication.TestPartnerAuth) ... ok test_kula (tests.lib.security.test_partner_authentication.TestPartnerAuth) ... ok test_scene (tests.lib.security.test_partner_authentication.TestPartnerAuth) ... ok test_spent (tests.lib.security.test_partner_authentication.TestPartnerAuth) ... ok test_grs (tests.lib.security.test_partner_authentication.TestPartnerAuth) ... ok test_kula (tests.lib.security.test_partner_authentication.TestPartnerAuth) ... ok test_scene (tests.lib.security.test_partner_authentication.TestPartnerAuth) ... ok test_spent (tests.lib.security.test_partner_authentication.TestPartnerAuth) ... ok test_generate_random (tests.lib.security.test_passwords.TestPasswords) ... ok test_matches (tests.lib.security.test_passwords.TestPasswords) ... ok test_too_long (tests.lib.security.test_passwords.TestPasswords) ... ok test_too_short (tests.lib.security.test_passwords.TestPasswords) ... ok test_validate_password (tests.lib.security.test_passwords.TestPasswords) ... ok test_generate_random (tests.lib.security.test_passwords.TestPasswords) ... ok test_matches (tests.lib.security.test_passwords.TestPasswords) ... ok test_too_long (tests.lib.security.test_passwords.TestPasswords) ... ok test_too_short (tests.lib.security.test_passwords.TestPasswords) ... ok test_validate_password (tests.lib.security.test_passwords.TestPasswords) ... ok test_encode_decode (tests.lib.security.test_security.TestSecurity) ... ok test_generate_password (tests.lib.security.test_security.TestSecurity) ... ok test_generate_token (tests.lib.security.test_security.TestSecurity) ... ok test_validate_password_1 (tests.lib.security.test_security.TestSecurity) ... ok test_validate_password_2 (tests.lib.security.test_security.TestSecurity) ... ok test_validate_password_3 (tests.lib.security.test_security.TestSecurity) ... ok test_validate_password_4 (tests.lib.security.test_security.TestSecurity) ... ok test_validate_password_5 (tests.lib.security.test_security.TestSecurity) ... ok test_encode_decode (tests.lib.security.test_security.TestSecurity) ... ok test_generate_password (tests.lib.security.test_security.TestSecurity) ... ok test_generate_token (tests.lib.security.test_security.TestSecurity) ... ok test_validate_password_1 (tests.lib.security.test_security.TestSecurity) ... ok test_validate_password_2 (tests.lib.security.test_security.TestSecurity) ... ok test_validate_password_3 (tests.lib.security.test_security.TestSecurity) ... ok test_validate_password_4 (tests.lib.security.test_security.TestSecurity) ... ok test_validate_password_5 (tests.lib.security.test_security.TestSecurity) ... ok Name Stmts Miss Cover --------------------------------------------------------------- lib/fanxchange/common/constants.py 97 97 0% lib.py 0 0 100% lib/fanxchange.py 0 0 100% lib/fanxchange/api.py 0 0 100% lib/fanxchange/api/helpers.py 173 173 0% lib/fanxchange/common.py 6 6 0% lib/fanxchange/common/base.py 104 104 0% lib/fanxchange/common/db_utils.py 137 137 0% lib/fanxchange/common/emailing_system.py 372 372 0% lib/fanxchange/common/services.py 177 177 0% lib/fanxchange/common/ticket_authority.py 22 22 0% lib/security.py 0 0 100% lib/security/aes_cipher.py 19 19 0% lib/security/constants.py 3 3 0% lib/security/partner_authentication.py 23 23 0% lib/security/partners.py 0 0 100% lib/security/partners/base.py 48 48 0% lib/security/partners/grs.py 21 21 0% lib/security/partners/kula.py 9 9 0% lib/security/partners/scene.py 22 22 0% lib/security/partners/spent.py 21 21 0% lib/security/passwords.py 19 19 0% lib/security/security.py 35 35 0% lib/utils.py 3 3 0% lib/utils/env.py 21 21 0% lib/utils/jsonencoder.py 12 12 0% lib/utils/logfilter.py 3 3 0% lib/utils/timezone.py 25 25 0% --------------------------------------------------------------- TOTAL 1372 1372 0% ---------------------------------------------------------------------- Ran 52 tests in 0.059s
My version of coverage:
coverage==4.3.4
This seems to happen when trying to upgrade from nose 1.3.0 to 1.3.1+
My version of coverage:
coverage==4.3.4
This seems to happen when trying to upgrade from nose 1.3.0 to 1.3.1+