'Ensure users in a group can be filtered on time intervals.
GET /groups/{groupid}/users?password_expires_at=
lt:{timestamp}&gt:{timestamp}
GET /groups/{groupid}/users?password_expires_at=
lte:{timestamp}&gte:{timestamp}
Time intervals are defined by using lt or lte and gt or gte,
where the lt/lte time is greater than the gt/gte time.'

def test_list_users_in_group_by_password_expires_interval(self):

    expire_interval_url = self._list_users_in_group_by_multiple_password_expires_at(self._format_timestamp(self.starttime), 'gt', self._format_timestamp((self.starttime + datetime.timedelta(days=3, seconds=1))), 'lt')
    resp_users = self.get(expire_interval_url).result.get('users')
    self.assertEqual(self.user2['id'], resp_users[0]['id'])
    self.assertEqual(self.user3['id'], resp_users[1]['id'])
    expire_interval_url = self._list_users_in_group_by_multiple_password_expires_at(self._format_timestamp((self.starttime + datetime.timedelta(days=2))), 'gte', self._format_timestamp((self.starttime + datetime.timedelta(days=3))), 'lte')
    resp_users = self.get(expire_interval_url).result.get('users')
    self.assertEqual(self.user2['id'], resp_users[0]['id'])
    self.assertEqual(self.user3['id'], resp_users[1]['id'])
