From 8124e5c97b67173b5ecba24186e50439cb865700 Mon Sep 17 00:00:00 2001
From: Paul McCarthy <pauldmccarthy@gmail.com>
Date: Thu, 18 Jan 2024 11:29:25 +0000
Subject: [PATCH] DOC: Note about PYFEEDS_TESTING env var

---
 doc/writing_a_test.md | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/doc/writing_a_test.md b/doc/writing_a_test.md
index 5b58775..4d7425d 100644
--- a/doc/writing_a_test.md
+++ b/doc/writing_a_test.md
@@ -227,6 +227,12 @@ A `pyfeeds` test is called with three parameters:
      previously-generated benchmark data for the test, if it exists.
 
 
+When `pyfeeds` calls a `feedsRun` script, it sets an environment variable -
+`PYFEEDS_TESTING=1`. This may be useful for `feedsRun` scripts which are intended
+to be callable both from `pyfeeds`, and through other means, and which need to
+behave differently depending on how they are called.
+
+
 ## Writing your test in Python
 
 
-- 
GitLab