HitchCron
HitchCron is a plugin for the Hitch test framework that lets you mimic the effect of having a cron run during your tests by running a command repeatedly.
Use with Hitch
Install like so:
$ hitch install hitchcron
# Service definition in engine's setUp:
self.services['Cron'] = hitchcron.CronService(
run=self.services['Django'].manage("trigger").command, # Python list containing command + args
every=1, # Run every 1 seconds
)
See this service in action at the DjangoRemindMe project.
Metadata
Release files for hitchcron 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hitchcron-0.2.tar.gz | 2.6 kB | Without provenance | Details for hitchcron-0.2.tar.gz |
Release files / hitchcron-0.2.tar.gz
| Download URL | hitchcron-0.2.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6bd531a2f78a87d519f41d3d8d01ede181afbf9661f3b54b95dea859d1062c12
|
|
BLAKE2b-256 checksum How to use checksums |
1be2db693c75b60de1f56f0de5704443a7ff15577d04daad705366c37c62ce93
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for hitchcron 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.