We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70c1768 commit 4772330Copy full SHA for 4772330
tests/test_github_event_path.py
@@ -504,11 +504,11 @@
504
505
@pytest.fixture
506
def set_event_file(tmp_path):
507
+ env_utils.get_cached_gh_event_data.cache_clear()
508
path = tmp_path / "event.json"
509
existing_or_new_path = Path(os.getenv("GITHUB_EVENT_PATH", str(path)))
510
existing_or_new_path.write_text(pr_event_file, encoding="utf-8")
511
os.environ["GITHUB_EVENT_PATH"] = str(existing_or_new_path)
- print(existing_or_new_path)
512
return existing_or_new_path
513
514
0 commit comments