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

zopefoundation / zc.form / 4104424266

pending completion
4104424266

push

github

GitHub
Config with pure python template (#9)

205 of 267 branches covered (76.78%)

Branch coverage included in aggregate %.

84 of 84 new or added lines in 12 files covered. (100.0%)

800 of 934 relevant lines covered (85.65%)

0.86 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/zc/form/source.py
1
import pytz
×
2

3
import zc.sourcefactory.basic
×
4

5

6
class USTimeZones(zc.sourcefactory.basic.BasicSourceFactory):
×
7
    """List of timezones taken from pytz"""
8

9
    tzs = [tz
×
10
           for tz in pytz.common_timezones
11
           if 'US/' in tz and 'Pacific-New' not in tz]
12

13
    def getValues(self):
×
14
        return self.tzs
×
15

16
    def getTitle(self, value):
×
17
        return value
×
18

19
    def getToken(self, value):
×
20
        return value
×
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