Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / im / tests.py @ 369628b8

History | View | Annotate | Download (80.3 kB)

# Date Author Comment
39e16ecc 05/16/2013 06:09 pm Kostas Papadimitriou

astakos: Update tests

Enforce Group entries flush. As a fix to strange errors raised while running
tests using sqlite database. The driver doesn't seem to be able to properly
cleanup related database entries, a procedure that takes place after each
execution of a TransactionTestCase test.

d6af92ac 05/16/2013 03:00 pm Kostas Papadimitriou

Merge branch 'develop' into feature-astakos-userflow

aba462a2 05/16/2013 02:55 pm Giorgos Korfiatis

astakos: Adapt tests to 2.6-style unittest

Define assertGreater, assertIn, assertRaises in snf_django.utils.testing

93a77d30 05/16/2013 02:55 pm Giorgos Korfiatis

common: Disable proxy in tests

Do not follow redirections in im tests.

e7cb4085 05/15/2013 07:03 pm Kostas Papadimitriou

astakos: User activation flow improvements

Major refactoring on user email verification/activation process
---------------------------------------------------------------
Activation logic moved from dispersed code in functions/view modules to
ActivationBackend methods. All user activation handling code in astakos views...

ba27316a 05/15/2013 06:58 pm Kostas Papadimitriou

astakos: Update tests

- In sync with new AstakosUser model
- Remove nested settings wrappers to slightly increase tests performance

e336910f 05/15/2013 06:49 pm Giorgos Korfiatis

astakos: Improve quota syncing

- Split code that lists and syncs quotas
- Merge the latter with qh_sync_users
- Move qh_sync_projects in quotas.py; sync only active members
- Add missing select for update in project suspend
- Clean up quotas.py
c80722ce 05/14/2013 05:46 pm Giorgos Korfiatis

astakos: Tests for quota API calls

764d99c4 05/14/2013 10:41 am Giorgos Korfiatis

astakos: Remove command user-set-initial-quota

To change base quota for a specified user:
snf-manage user-modify user --set-base-quota resource limit

To import base quota in batch from a file:
snf-manage astakos-quota --import-base-quota filename

Rename `initial' to `base quota' in command output....

5dcf6618 05/13/2013 01:44 pm Giorgos Korfiatis

Revert "astakos: Fix bug in getting membership"

This reverts commit 7ce770be9fd9668fff4088eff2421cbeb0cc311e.

Update astakos tests to use membership id.

126f6a55 05/09/2013 06:45 pm Christos Stavrakakis

fix typo

95150b7d 05/09/2013 06:40 pm Christos Stavrakakis

astakos: Fix one test

Fix race condition in one of Astakos tests.

2a88057d 05/09/2013 04:15 pm Christos Stavrakakis

astakos: Various fixes to tests

Do not user 'assertItemsEqual' method of unittest is only supported in
python 2.7.

Also, some arguments have been renamed.

37d59b27 04/30/2013 08:09 pm Kostas Papadimitriou

astakos: Resources metadata improvements

- Allow admin to overwrite default resources presentation data using
ASTAKOS_RESROUCES_META setting. dict_merge is used to accomodate admin
from declaring all available metadata parameters.
- Enforce allow_in_projects resource policy in project application...

ba886e03 04/23/2013 06:27 pm Kostas Papadimitriou

astakos: Update projects tests

0a7a4104 04/23/2013 06:04 pm Kostas Papadimitriou

astakos: Replace some explicit settings imports

importing setting names explicitly makes it hard to write tests that
depend on specific setting values and polutes the module namespace.

In this commit only settings that are currently used in tests where
refactored.

450c7fb0 04/23/2013 05:09 pm Kostas Papadimitriou

astakos: Initial tests for project views

d2b8ec7b 04/08/2013 11:07 am Christos Stavrakakis

Move common test code to snf_django.lib.testing

19a992e3 04/02/2013 11:16 am Kostas Papadimitriou

Update astakos tests

handle new email recipients

878d9cf3 04/02/2013 08:49 am Kostas Papadimitriou

Merge branch 'tmp-common-email-recipients' into develop

31bc3a62 03/27/2013 11:26 pm Kostas Papadimitriou

Astakos email notification improvements

- Use project setting SERVER_EMAIL as sender to all email notifications.
- Remove astakos specific DEFAULT_CONTAC_EMAIL in favor of snf-common's
CONTACT_EMAIL setting.
- Remove DEFAULT_CONTACT_EMAIL and ADMINS astakos specific settings in favor of...

9d20fe23 03/15/2013 07:49 pm Kostas Papadimitriou

Authentication providers improvements

Major authentication provider refactoring to support

- Modular and easily configurable messages with common context
- Fine grained provider policies to support appling specific policies to
users and/or groups

Key points:...

478ece6c 03/15/2013 07:49 pm Kostas Papadimitriou

Auth providers tests additions/updates

564a2292 01/11/2013 12:52 pm Kostas Papadimitriou

Auth providers improvements

- Enrich login/logout messages.
- Clear unverified accounts when user adds the same third party account
to an existing account.
- Other minor improvements.

fcc1e93f 12/21/2012 05:48 pm Sofia Papagiannaki

Delete more obsolete code

f47ecf6b 12/21/2012 03:37 pm Kostas Papadimitriou

Update tests

e24d0e0d 12/19/2012 03:09 pm Kostas Papadimitriou

Proper missing eppn message

1af308f1 12/17/2012 07:33 pm Kostas Papadimitriou

Tests fix

34a76cdb 12/17/2012 07:29 pm Kostas Papadimitriou

Change email process improvements

- Allow replacement of previously email change requests
- Cleanup expired email change requests in change email view
- Log email change
- Warn user for existing pending requests
- Redirect to profile on change email actions (failed or succeded)

e5966bd9 12/17/2012 05:16 pm Kostas Papadimitriou

Improve email/username handling

- New helper methods in AstkosUser.objects
- Check uniquness between username/email on user creation process
- Allow login using both username/email fields
- Keep email case intact
- Store lowercase email in username field

31fdafa8 12/13/2012 03:54 pm Kostas Papadimitriou

Update tests

ba50648c 12/11/2012 05:16 pm Kostas Papadimitriou

Update tests

7233d542 12/03/2012 10:08 am Kostas Papadimitriou

Proper MODERATION_ENABLED check when invitations are enabled

8ab484ea 11/30/2012 06:29 pm Kostas Papadimitriou

Keep third party token between signup form errors

f432088a 11/30/2012 04:45 pm Kostas Papadimitriou

Additional multiple auth methods fixes and tests

2e90e3ec 11/30/2012 03:29 pm Kostas Papadimitriou

Merge branch 'devel-0.13' into multipleauthmethods

Conflicts:
snf-astakos-app/astakos/im/context_processors.py
snf-astakos-app/astakos/im/forms.py
snf-astakos-app/astakos/im/models.py
snf-astakos-app/astakos/im/target/local.py
snf-astakos-app/astakos/im/target/shibboleth.py...

d2633501 11/30/2012 02:42 pm Kostas Papadimitriou

Allow multiple login methods per account