civics-cdf-validator 1.57.dev2__tar.gz → 1.57.dev4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {civics_cdf_validator-1.57.dev2/civics_cdf_validator.egg-info → civics_cdf_validator-1.57.dev4}/PKG-INFO +1 -1
- {civics_cdf_validator-1.57.dev2 → civics_cdf_validator-1.57.dev4/civics_cdf_validator.egg-info}/PKG-INFO +1 -1
- {civics_cdf_validator-1.57.dev2 → civics_cdf_validator-1.57.dev4}/rules.py +3 -3
- {civics_cdf_validator-1.57.dev2 → civics_cdf_validator-1.57.dev4}/version.py +1 -1
- {civics_cdf_validator-1.57.dev2 → civics_cdf_validator-1.57.dev4}/CONTRIBUTING.md +0 -0
- {civics_cdf_validator-1.57.dev2 → civics_cdf_validator-1.57.dev4}/LICENSE-2.0.txt +0 -0
- {civics_cdf_validator-1.57.dev2 → civics_cdf_validator-1.57.dev4}/MANIFEST.in +0 -0
- {civics_cdf_validator-1.57.dev2 → civics_cdf_validator-1.57.dev4}/README.md +0 -0
- {civics_cdf_validator-1.57.dev2 → civics_cdf_validator-1.57.dev4}/__init__.py +0 -0
- {civics_cdf_validator-1.57.dev2 → civics_cdf_validator-1.57.dev4}/base.py +0 -0
- {civics_cdf_validator-1.57.dev2 → civics_cdf_validator-1.57.dev4}/civics_cdf_validator.egg-info/SOURCES.txt +0 -0
- {civics_cdf_validator-1.57.dev2 → civics_cdf_validator-1.57.dev4}/civics_cdf_validator.egg-info/dependency_links.txt +0 -0
- {civics_cdf_validator-1.57.dev2 → civics_cdf_validator-1.57.dev4}/civics_cdf_validator.egg-info/entry_points.txt +0 -0
- {civics_cdf_validator-1.57.dev2 → civics_cdf_validator-1.57.dev4}/civics_cdf_validator.egg-info/requires.txt +0 -0
- {civics_cdf_validator-1.57.dev2 → civics_cdf_validator-1.57.dev4}/civics_cdf_validator.egg-info/top_level.txt +0 -0
- {civics_cdf_validator-1.57.dev2 → civics_cdf_validator-1.57.dev4}/gpunit_rules.py +0 -0
- {civics_cdf_validator-1.57.dev2 → civics_cdf_validator-1.57.dev4}/loggers.py +0 -0
- {civics_cdf_validator-1.57.dev2 → civics_cdf_validator-1.57.dev4}/office_utils.py +0 -0
- {civics_cdf_validator-1.57.dev2 → civics_cdf_validator-1.57.dev4}/setup.cfg +0 -0
- {civics_cdf_validator-1.57.dev2 → civics_cdf_validator-1.57.dev4}/setup.py +0 -0
- {civics_cdf_validator-1.57.dev2 → civics_cdf_validator-1.57.dev4}/stats.py +0 -0
- {civics_cdf_validator-1.57.dev2 → civics_cdf_validator-1.57.dev4}/validator.py +0 -0
|
@@ -4330,10 +4330,10 @@ class SourceDirPathMustBeSetAfterInitialDeliveryDate(base.BaseRule):
|
|
|
4330
4330
|
|
|
4331
4331
|
|
|
4332
4332
|
class OfficeholderSubFeedDatesAreSequential(base.DateRule):
|
|
4333
|
-
"""Dates in an
|
|
4333
|
+
"""Dates in an OfficeholderSubFeed element should be sequential."""
|
|
4334
4334
|
|
|
4335
4335
|
def elements(self):
|
|
4336
|
-
return ["
|
|
4336
|
+
return ["OfficeholderSubFeed"]
|
|
4337
4337
|
|
|
4338
4338
|
def check(self, element):
|
|
4339
4339
|
if element_has_text(
|
|
@@ -4723,7 +4723,7 @@ class NoExtraElectionReportCollections(base.BaseRule):
|
|
|
4723
4723
|
class FeedElementsShouldHaveSubElementsBasedOnType(base.BaseRule):
|
|
4724
4724
|
"""Feeds should have certain elements based on feed type.
|
|
4725
4725
|
|
|
4726
|
-
For example, Feeds of type
|
|
4726
|
+
For example, Feeds of type officeholder should have an OfficeholderSubFeed,
|
|
4727
4727
|
similarly pre-election and election-results feeds should have an
|
|
4728
4728
|
ElectionEventCollection. In the case of an ElectionEventCollection, at least
|
|
4729
4729
|
one ElectionEvent element should be present.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|