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

OpenTreeMap / otm-core / 2959
84%
develop: 84%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/sockjs-0.3.21
DEFAULT BRANCH: develop
Ran 18 May 2017 12:08AM UTC
Jobs 1
Files 216
Run time 11s
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
2959

push

travis-ci

RobinIsTheBird
update HStore - review comments

Changes
-------
- `treemap.udf`
  - Revert `treemap.udf.UDFModel` to using `udfs` as a `Field`
    - Name the field `UDFPostgresField` because of instructions in
      https://docs.djangoproject.com/en/1.11/howto/custom-model-fields/
      #changing-a-custom-field-s-base-class
    - Change all references to the `hstore_udfs__` lookup back to `udfs__`
    - Fix the Migration accordingly, which necessitated
      tolerating a `UDFDictionary` without an `instance` in
      `treemap.udf.UDFPostgresField.get_prep_value`
    - In the `UDFDictionary` produced by the `UDFPostgresField`,
      defer database-directed cleaning until save
    - A number of changes to tolerate dirt due to deferral to save
  - Update comments and docstrings to be consistent with the code.
  - Remove unused code vestiges
- Revert `treemap.views.map_feature` back to not checking for
  `ValidationError` when setting the attribute on the model
- Add documentatioon to `treemap.audit.UserTrackable` explaining
  `populate_previous_state`:
  - When it should be called
  - How to know it wasn't called when it should
  - Rationale for shifting the responsibility to leaf classes
- Restore readonly TODO comments
- Restore pending tests to `test_audit`
  - skip `test_pending_udf_audits` because the HStore update did not
    include implementing Pending for udfs.
  - Note that restoring the pending tests also restores
    `readonly` tests.
  - Several tests were already skipped from the permissions work
    last year, so at this point, pending audits has very few
    operational tests
- Remove 'WITHIN_RADIUS' from `treemap.search` docstrings.

--

Connects to #1968

17310 of 20742 relevant lines covered (83.45%)

0.83 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
treemap/search.py
2
100.0
exporter/tasks.py
5
100.0
importer/models/trees.py
15
100.0
treemap/views/map_feature.py
58
100.0
treemap/tests/test_audit.py
78
100.0
treemap/audit.py
100
100.0
treemap/udf.py
Jobs
ID Job ID Ran Files Coverage
1 2959.1 18 May 2017 12:08AM UTC 0
83.45
Travis Job 2959.1
Source Files on build 2959
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2959
  • 05c2edb6 on github
  • Prev Build on rtb/hstore (#2952)
  • Next Build on rtb/hstore (#2963)
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