Skip to content

Commit

Permalink
Fix broken test_for_long_absent_member
Browse files Browse the repository at this point in the history
  • Loading branch information
abkruse committed Aug 11, 2017
1 parent 034f4ea commit ef16975
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/events.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ If you would like to use a Google Calendar then you must first create a Google c

To use a Google Calendar in the place of a local calendar, you will need to acquire a Google API key and the Google Calendar ID for previously created calendar. In **nadine/local_settings**, set each appropriately as GOOGLE_API_KEY and GOOGLE_CALENDAR_ID.

This calendar is only set to be viewable by members but not editable from the Members application. Members can click on events on the calendar and they will be redirected to the Google page including event details.
This calendar is only set to be viewable by members but not editable from the Members application. Members can click on events on the calendar and they will be redirected to the Google page including event details. Additionally, this calendar will not display member room bookings made within the application.

Built-In Calendar
-----------------
Expand Down
2 changes: 1 addition & 1 deletion nadine/tests/test_membership.py
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ def test_bill_day_for_long_absent_member(self):
membership.bill_day = 12

# Set PT5 Package started a year ago and ended about a month ago
membership.set_to_package(self.pt5Package, start_date=one_year_ago, end_date=(one_month_ago - timedelta(days=1)), bill_day = today.day())
membership.set_to_package(self.pt5Package, start_date=one_year_ago, end_date=(one_month_ago - timedelta(days=1)), bill_day = today.day)
self.assertTrue(membership.active_subscriptions(target_date=two_months_ago).count() == 1)
self.assertEqual(membership.package_name(target_date=two_months_ago), 'PT5')
self.assertTrue(membership.active_subscriptions().count() == 0)
Expand Down

0 comments on commit ef16975

Please sign in to comment.