Skip to content

Instantly share code, notes, and snippets.

@dixonwhitmire
Created May 27, 2023 02:48
Show Gist options
  • Save dixonwhitmire/d9a5ec748f4fd134dfe86caa04d88bfe to your computer and use it in GitHub Desktop.
Save dixonwhitmire/d9a5ec748f4fd134dfe86caa04d88bfe to your computer and use it in GitHub Desktop.
Python __init__.py for tests/resources
import os
# base resource directory for "file fixtures" (sample transactions)
resources_directory = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"resources",
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment