Commit Graph

25 Commits

Author SHA1 Message Date
David Taylor
f8aaf9f36e Merge branch 'master' into feature/online-auth
# Conflicts:
#	RIGS/rigboard.py
#	RIGS/test_functional.py
#	RIGS/urls.py
#	requirements.txt
2017-05-12 20:53:00 +01:00
David Taylor
83028418fe Fix deprecation warnings for django 1.10 2017-05-10 18:30:17 +01:00
Tom Price
56d4e438b6 Fix test missing EventAuthorisation.sent_by 2017-04-11 16:50:49 +01:00
Tom Price
3b2aa02ae5 Add success notification emails.
Enable RevisionMixin for EventAuthorisation.

Add signal receivers for RIGS.

Expand RIGS into an explicitly defined app to support signals.
2017-04-10 19:16:45 +01:00
Tom Price
1670b190c2 Add tests for the client side authorisation 2017-04-10 18:11:49 +01:00
Tom Price
c2787d54b0 Add authorisation models.
Add EventAuthorisation model + migrations

Add authorised property to Event.

Add appropriate tests
2017-03-29 20:46:40 +01:00
Tom Price
8cfda69717 Set wercker up to use postgres for tests again.
Modify the tests to be postgres compatible by using more pointers to things rather than getting them everytime.
2016-03-31 16:03:07 +01:00
Tom Price
b2b8546e3c Add test for events_in_bounds 2016-03-18 16:41:13 +00:00
Tom Price
2945a607bf Add more tests for models.Event properties 2016-03-18 16:27:20 +00:00
Tom Price
b7018d5c44 Refactor NoneType test to make use of the __str__ method thus including that method in the test as well. 2015-12-22 23:07:15 +00:00
Tom Price
b933a5322f Add test to reproduce NoneType exception from #171 2015-12-22 23:01:30 +00:00
Tom Price
2743112f1b Reformat file to correct standard 2015-12-22 22:59:12 +00:00
David Taylor
a7493d46b5 Updated tests to reflect model changes 2015-07-21 00:17:56 +01:00
Tom Price
ce0ac7f44b Add missing dry hire 11.
Suggest this logic gets looked at. Isn't broken, but not nessecarily correct.
2015-05-31 23:04:29 +01:00
Tom Price
ec424f2db3 Fix for incorrect logic in current dry hires
Non booked dryhires never show up in the past even if not checked in.
2015-05-31 23:01:52 +01:00
Tom Price
e2b352557c Change the way current events are tested 2015-05-31 22:57:17 +01:00
Tom Price
4a8da69686 Add event pricing tests 2015-04-01 17:09:06 +01:00
Tom Price
f8ced4c169 Add item ordering test 2015-03-31 23:43:06 +01:00
Tom Price
b0b438250e Add item total cost test 2015-03-31 22:13:31 +01:00
Tom Price
29edd92c09 Add person <-> organisations 2015-03-31 22:06:56 +01:00
Tom Price
e2ab112f7b Add person, organisation related tests 2015-03-31 22:00:35 +01:00
Tom Price
23bf81fb8f Add reverse relation tests.
Add status tests.
2015-03-31 21:56:39 +01:00
Tom Price
ca015c4f94 Add current event events test: FAILING. 2015-03-31 19:05:09 +01:00
Tom Price
22f33013ec Add events and check count/rig_count 2015-03-31 18:44:45 +01:00
Tom Price
4f6d2333c0 Add VatRate model tests 2015-03-31 18:01:15 +01:00