Skip to content
Sections
>> Trisquel >> Paketit >> etiona >> python >> python-freezegun
etiona  ]
[ Source: freezegun  ]

Paketti: python-freezegun (0.3.9-1)

Python library to mock the datetime module in unit testing

FreezeGun allows easy mocking of the datetime module by freezing the return value of the methods datetime.datetime.now(), datetime.datetime.utcnow(), datetime.date.today(), and time.time() to a fixed point in time. Use it in unit testing to make the tests deterministic and time-independent.

Muut pakettiin python-freezegun liittyvät paketit

  • depends
  • recommends
  • suggests
  • dep: python
    interactive high-level object-oriented language (default version)
  • dep: python-dateutil
    powerful extensions to the standard Python datetime module
  • dep: python-six
    Python 2 and 3 compatibility library (Python 2 interface)

Imuroi python-freezegun

Imurointi kaikille saataville arkkitehtuureille
Arkkitehtuuri Paketin koko Koko asennettuna Tiedostot
all 8.5 kt41 kt [tiedostoluettelo]