Skip to content
Sections
>> Trisquel >> Balíky >> etiona >> python >> python3-freezegun
etiona  ] [  nabia  ] [  aramo  ]
[ Zdroj: freezegun  ]

Balík: python3-freezegun (0.3.9-1)

Python3 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.

Ostatné balíky súvisiace s balíkom python3-freezegun

  • závisí
  • odporúča
  • navrhuje
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-dateutil
    powerful extensions to the standard Python 3 datetime module
  • dep: python3-six
    Python 2 and 3 compatibility library (Python 3 interface)

Stiahnuť python3-freezegun

Stiahnuť pre všetky dostupné architektúry
Architektúra Veľkosť balíka Nainštalovaná veľkosť Súbory
all 6.9 kB39 kB [zoznam súborov]