Add tests for AuthenticationMixins.
commit08dd298c3d29927910d343da476d09aa4510a514
authorAbhilash Raj <raj.abhilash1@gmail.com>
Sat, 30 Jun 2018 07:55:38 +0000 (30 00:55 -0700)
committerAbhilash Raj <raj.abhilash1@gmail.com>
Sat, 30 Jun 2018 08:13:55 +0000 (30 01:13 -0700)
treed82d9f323e698e35b5f0ed73ce6c6790e40df676
parentd4a2dfbecb21c8f63623ca59799c58207d1cebe9
Add tests for AuthenticationMixins.
src/postorius/auth/decorators.py
src/postorius/auth/mixins.py
src/postorius/auth/utils.py
src/postorius/tests/fixtures/vcr_cassettes/TestAuthenticationMixins.test_domain_owner_requred.yaml [new file with mode: 0644]
src/postorius/tests/fixtures/vcr_cassettes/TestAuthenticationMixins.test_list_moderator_mixin.yaml [new file with mode: 0644]
src/postorius/tests/fixtures/vcr_cassettes/TestAuthenticationMixins.test_list_owner_mixin.yaml [new file with mode: 0644]
src/postorius/tests/mailman_api_tests/test_mixins.py [new file with mode: 0644]
src/postorius/utils.py