We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82e77d9 commit fa5d5f6Copy full SHA for fa5d5f6
1 file changed
test_env.py
@@ -277,9 +277,22 @@ def test_get_env_vars_equal_start_and_end_date(self):
277
)
278
def test_get_env_vars_valid_date_range(self):
279
"""Test that valid date range (START_DATE before END_DATE) is accepted"""
280
- result = env.get_env_vars()
281
- self.assertEqual(result[8], "2024-01-01") # start_date
282
- self.assertEqual(result[9], "2025-01-01") # end_date
+ (
+ _organization,
+ _repository_list,
283
+ _gh_app_id,
284
+ _gh_app_installation_id,
285
+ _gh_app_private_key,
286
+ _gh_app_enterprise_only,
287
+ _token,
288
+ _ghe,
289
+ start_date,
290
+ end_date,
291
+ _sponsor_info,
292
+ _link_to_profile,
293
+ ) = env.get_env_vars()
294
+ self.assertEqual(start_date, "2024-01-01")
295
+ self.assertEqual(end_date, "2025-01-01")
296
297
298
if __name__ == "__main__":
0 commit comments