Skip to content

Commit

Permalink
Update the instructions for updating the vcr data
Browse files Browse the repository at this point in the history
  • Loading branch information
mfisherlevine committed Jul 19, 2023
1 parent 1fb340e commit 4791feb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
11 changes: 7 additions & 4 deletions tests/test_efdUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,13 @@
except ImportError:
HAS_EFD_CLIENT = False

# Use mode="none" to run tests for normal operation.
# To update files or generate new ones, make sure you have a working
# connection to lsst-schema-registry-efd.ncsa.illinois.edu
# and temporarily run with mode="once".
# Use record_mode="none" to run tests for normal operation. To update files or
# generate new ones, make sure you have a working connection to the EFD at all
# the relevant sites, and temporarily run with mode="all" via *both*
# python/pytest *and* with scons, as these generate slightly different HTTP
# requests for some reason. Also make sure to do all this at both the summit
# and USDF. The TTS is explicitly skipped and does not need to follow this
# procedure.
packageDir = getPackageDir('summit_utils')
safe_vcr = vcr.VCR(
record_mode="none",
Expand Down
11 changes: 7 additions & 4 deletions tests/test_tmaUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,13 @@
'writeNewTmaEventTestTruthValues',
]

# Use mode="none" to run tests for normal operation.
# To update files or generate new ones, make sure you have a working
# connection to lsst-schema-registry-efd.ncsa.illinois.edu
# and temporarily run with mode="once".
# Use record_mode="none" to run tests for normal operation. To update files or
# generate new ones, make sure you have a working connection to the EFD at all
# the relevant sites, and temporarily run with mode="all" via *both*
# python/pytest *and* with scons, as these generate slightly different HTTP
# requests for some reason. Also make sure to do all this at both the summit
# and USDF. The TTS is explicitly skipped and does not need to follow this
# procedure.
packageDir = getPackageDir('summit_utils')
safe_vcr = vcr.VCR(
record_mode="none",
Expand Down

0 comments on commit 4791feb

Please sign in to comment.