Skip to content

Commit

Permalink
fix: hard coded dates to declarative
Browse files Browse the repository at this point in the history
Signed-off-by: Zack Koppert <[email protected]>
  • Loading branch information
zkoppert committed Jun 10, 2024
1 parent a122c9f commit 57bf858
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test_stale_repos.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ def test_get_inactive_repos_with_inactive_repos(self):
{
"url": "https://github.com/example/repo2",
"days_inactive": 40,
"last_push_date": "2024-04-29",
"last_push_date": forty_days_ago.date().isoformat(),
"visibility": "private",
"days_since_last_release": None,
"days_since_last_pr": None,
Expand Down Expand Up @@ -468,7 +468,7 @@ def test_get_inactive_repos_with_no_organization_set(self):
{
"url": "https://github.com/example/repo2",
"days_inactive": 40,
"last_push_date": "2024-04-29",
"last_push_date": forty_days_ago.date().isoformat(),
"visibility": "private",
"days_since_last_release": None,
"days_since_last_pr": None,
Expand Down Expand Up @@ -544,7 +544,7 @@ def test_get_inactive_repos_with_default_branch_updated(self):
{
"url": "https://github.com/example/repo2",
"days_inactive": 40,
"last_push_date": "2024-04-29",
"last_push_date": forty_days_ago.date().isoformat(),
"visibility": "private",
"days_since_last_release": None,
"days_since_last_pr": None,
Expand Down

0 comments on commit 57bf858

Please sign in to comment.