diff --git a/ietf/nomcom/factories.py b/ietf/nomcom/factories.py index f8954d491..04db3a6ac 100644 --- a/ietf/nomcom/factories.py +++ b/ietf/nomcom/factories.py @@ -69,7 +69,7 @@ def provide_private_key_to_test_client(testcase): def nomcom_kwargs_for_year(year=None, *args, **kwargs): if not year: - year = random.randint(1980,2100) + year = random.randint(1990,2100) if 'group__state_id' not in kwargs: kwargs['group__state_id']='active' if 'group__acronym' not in kwargs: diff --git a/ietf/nomcom/tests.py b/ietf/nomcom/tests.py index 7b78d042f..d7a8c9cc0 100644 --- a/ietf/nomcom/tests.py +++ b/ietf/nomcom/tests.py @@ -1821,7 +1821,7 @@ Junk body for testing def test_eligible(self): def first_meeting_of_year(year): assert isinstance(year, int) - assert year >= 1991 + assert year >= 1990 return (year-1985)*3+2 # Create meetings to ensure we have the 'last 5' meeting_start = first_meeting_of_year(datetime.date.today().year-2) @@ -1850,7 +1850,7 @@ Junk body for testing year = self.nc.year() def first_meeting_of_year(year): assert isinstance(year, int) - assert year >= 1991 + assert year >= 1990 return (year-1985)*3+2 people = PersonFactory.create_batch(10) meeting_start = first_meeting_of_year(year-2)