CrabScout. The best software around.
Search

time-machine

Run Python date-sensitive tests with a controlled clock.

adamchainz · Code and testing

GitHub projectOpen source Open on GitHub

How to try it

In a Python virtual environment, install time-machine==3.6.0. Set an isolated synthetic date and read the clock within the fixture.

What we tested

3.6.0. Set an isolated synthetic date and read the clock within the fixture. Returned the fixture's exact configured UTC time.

Reviews

Rate this repo

More to explore

  • GleamWrite typed code for the Erlang virtual machine or JavaScript.GitHub projectOpen source
  • PixiSet up reproducible software environments for projects.GitHub projectOpen source
  • LycheeCheck that document links point to reachable paths.GitHub projectOpen source

Share

What the labels mean

Save to your library