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

MartijnBraam / python-isc-dhcp-leases
99%

Build:
DEFAULT BRANCH: master
Repo Added 06 Jul 2015 10:09AM UTC
Files 5
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

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
  • master
  • 0.4.0
  • 0.4.1
  • 0.5.0
  • 0.5.1
  • 0.5.2
  • 0.5.3
  • 0.6.0
  • 0.7.0
  • 0.8.0
  • 0.8.1
  • 0.9.0
  • 0.9.1
  • andir-fix-performance
  • fix/backup-leases
  • freddy36-lease6_iaid_duid_properties
  • list

pending completion
129

push

travis-ci

MartijnBraam
Fix timezone awareness for Python 2.7.x

The datetime module doesn't provide timezone.utc under Python 2.7.x, so
define it for ourselves.

28 of 28 new or added lines in 4 files covered. (100.0%)

500 of 504 relevant lines covered (99.21%)

2.95 hits per line

Relevant lines Covered
Build:
Build:
504 RELEVANT LINES 500 COVERED LINES
2.95 HITS PER LINE
Source Files on master
  • Tree
  • List 0
  • Changed 4
  • Source Changed 4
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
129 master Fix timezone awareness for Python 2.7.x The datetime module doesn't provide timezone.utc under Python 2.7.x, so define it for ourselves. push 23 Mar 2020 10:54PM UTC MartijnBraam travis-ci pending completion  
128 master Support working with historical dhcpd.leases files Add a new "now" keyword argument to BaseLease, Lease, Lease6, and IscDhcpLeases classes to allow users to specify a historical time to use instead of the real system time. This adds test cases f... push 22 Mar 2020 05:15PM UTC MartijnBraam travis-ci pending completion  
124 master setup.py: also note Python 3.7 support The test suite passes on Python 3.7, and I've been using it with 3.7 successfully for months. Pull #27 28 Jun 2019 12:34AM UTC web-flow travis-ci pending completion  
123 master relax parsing rules to accept openbsd's dhcpd.leases format ignore 'UTC' suffix on time fields record with missing binding_state defaults to 'active' interpret 'abandoned;' field as 'binding_state abandoned;" added test case for openbsd dhcpd.leas... Pull #29 24 Apr 2019 05:57AM UTC web-flow travis-ci pending completion  
122 master Update README.rst Pull #28 26 Jan 2019 06:11PM UTC web-flow travis-ci pending completion  
121 master Add test_files content to packaging Provide test_files content in the distribution so downstream packagers sourcing from PyPI can run all tests successfully. While here, also note Python 3.6 support, since that's what I'm using it with. Pull #27 23 Oct 2018 03:55AM UTC web-flow travis-ci pending completion  
119 master Bumped version to 0.9.1 push 13 Apr 2018 01:24PM UTC MartijnBraam travis-ci pending completion  
118 master Handle epoch timestamps in dhcpd.leases (#26) https://www.isc.org/wp-content/uploads/2017/08/dhcp43leases.html If the db-time-format was configured to local, then the date fields appear as follows: epoch <seconds-since-epoch>; # <day-name>... push 12 Apr 2018 08:56AM UTC MartijnBraam travis-ci pending completion  
117 master Handle Lease functionalities when 'starts' is missing (#25) The existing code base expected each lease entry will have 'starts' property and the code fails at: https://github.com/MartijnBraam/python-isc-dhcp-leases/blob/master/isc_dhcp_leases/i... push 12 Apr 2018 08:50AM UTC MartijnBraam travis-ci pending completion  
116 master Handle epoch timestamps in dhcpd.leases https://www.isc.org/wp-content/uploads/2017/08/dhcp43leases.html If the db-time-format was configured to local, then the date fields appear as follows: epoch <seconds-since-epoch>; # <day-name> <month-nam... Pull #26 12 Apr 2018 02:38AM UTC web-flow travis-ci pending completion  
See All Builds (117)
  • Repo on GitHub
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

© 2025 Coveralls, Inc