• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

plone / plone.restapi / 4042 / 1
95%
main: 97%

Build:
Build:
LAST BUILD BRANCH: 6.x.x
DEFAULT BRANCH: main
Ran 22 Sep 2019 03:15PM UTC
Files 116
Run time 12s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Sep 2019 03:04PM UTC coverage: 95.505% (+0.2%) from 95.281%
PLONE_VERSION=4.3.x

push

travis-ci

tisto
Testing: Drop freezegun and instead selectively patch some timestamp accessors. (#805)

* Drop freezegun.

* Tests: Freeze creation and modification dates in a more targeted way:

Instead of using a library like `freezegun` to freeze time
entirely during tests, be more selective in our patching.

Specifically monkey-patching a few accessors (getter methods) in a
targeted way like this was chosen as an alternative to freezing time
entirely using libraries like `freezegun`, because that approach has
caused issues in the past with code that assumes a monotonic clock, like
the generation of ZODB transaction IDs.

* Remove traces of attempts to manually control times.

* Update http-examples.

* TestDocumentation: Move duplicated setUp and tearDown into a base class.

* TestDocumentation: Set up StaticTime as an actual context manager,

and use a cleanUp hook to make sure our monkey patches always get
reverted. We don't want plone.restapi leaving any monkey patches
behind if there's a failure in setUp() or tearDown().

* Add changelog entry.

4674 of 4894 relevant lines covered (95.5%)

0.96 hits per line

Source Files on job 4042.1 (PLONE_VERSION=4.3.x)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3537
  • Travis Job 4042.1
  • a88db1d8 on github
  • Prev Job for PLONE_VERSION=4.3.x on master (#4026.1)
  • Next Job for PLONE_VERSION=4.3.x on master (#4047.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc