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

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

Build:
Build:
LAST BUILD BRANCH: 6.x.x
DEFAULT BRANCH: main
Ran 22 Sep 2019 03:15PM UTC
Jobs 6
Files 640
Run time 9min
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

pending completion
4042

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.

25752 of 26750 relevant lines covered (96.27%)

5.5 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4042.1 (PLONE_VERSION=4.3.x) 22 Sep 2019 03:15PM UTC 0
95.5
Travis Job 4042.1
2 4042.2 (PLONE_VERSION=5.0.x) 22 Sep 2019 03:15PM UTC 0
95.72
Travis Job 4042.2
3 4042.3 (PLONE_VERSION=5.1.x) 22 Sep 2019 03:16PM UTC 0
95.72
Travis Job 4042.3
4 4042.4 (PLONE_VERSION=5.2.x) 22 Sep 2019 03:17PM UTC 0
95.59
Travis Job 4042.4
5 4042.5 (PLONE_VERSION=5.2.x) 22 Sep 2019 03:19PM UTC 0
94.29
Travis Job 4042.5
6 4042.6 (PLONE_VERSION=5.2.x) 22 Sep 2019 03:24PM UTC 0
94.29
Travis Job 4042.6
Source Files on build 4042
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4042
  • a88db1d8 on github
  • Prev Build on master (#4026)
  • Next Build on master (#4047)
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