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

influxdata / influxdb-python / 914 / 9
86%
master: 86%

Build:
DEFAULT BRANCH: master
Ran 21 Apr 2016 03:54AM UTC
Files 30
Run time 2s
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

21 Apr 2016 03:51AM UTC coverage: 83.529% (-10.1%) from 93.605%
TOX_ENV=coverage

push

travis-ci

aviau
Add time parameter to SeriesHelper (#306)

* Revert Allow setting the time of a point manually

This reverts commit c25ec0892,
which this commit is part of PR #304.

* Allow time to be specified in SeriesHelper.__init__()

* Extract SeriesHelper default timestamp into method for testability

* Use datetime.utcnow() as default timestamp in SeriesHelper

This is preferable to time.time() because _convert_timestamp() from
influxdb.line_protocol will do precision handling and conversion if a
datetime object is given.

* Get existing tests working by mocking SeriesHelper._current_timestamp()

* Add additional tests for SeriesHelper time field

* Move _reset_() calls in TestSeriesHelper to tearDown()

* Use mock.patch() instead of unittest.mock.patch() for py27

* Update SeriesHelper docstring

2419 of 2896 relevant lines covered (83.53%)

0.84 hits per line

Source Files on job 914.9 (TOX_ENV=coverage)
  • Tree
  • List 0
  • Changed 24
  • Source Changed 22
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 914
  • Travis Job 914.9
  • 3b7039e7 on github
  • Prev Job for TOX_ENV=coverage on master (#852.9)
  • Next Job for TOX_ENV=coverage on master (#915.8)
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