[TMP] test

This commit is contained in:
michel 2018-01-15 12:05:01 +01:00
parent 85d545d530
commit 985b5ec055

View File

@ -62,11 +62,11 @@ class TestGolemSeason(TransactionCase):
'membership_date_from': '2017-11-01',
'membership_date_to': '2018-12-31'})
new_season = self.env['golem.season'].create({'name': 'Name',
'membership_id': 'test_membership_type',
new_season = self.env['golem.season'].create({'name': name,
'membership_id': membership_id,
'date_start': membership_date_from,
'date_end': membership_date_to})
self.assertEqual(new_season._onchange_season_dates,
'membership_id': 'test_membership_type',
'date_start': '2017-11-01',