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

gator-life / gator.life / 349
97%

Build:
DEFAULT BRANCH: master
Ran 18 Jun 2016 09:39PM UTC
Jobs 1
Files 22
Run time 1s
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
349

Pull #53

travis-ci

web-flow
Migrate dal from ndb to gcloud datastore

tests remains rougly the same, except:
-some cleans where it used ndb directly
-new tests for empty collection management:
(because on gcloud, when the value associated to en entry is an empty list, the entry is not saved at all)

dbentities is removed because there is no equivalent of strongly typed "entity" type in gcloud. All is just dictionaries

Dal is now a class (explained in previous commit about Dal clients)
The client methods remains the same:
of the kind
-save_entity(struct.entities)
-get_entity(struct_key)

They call private methods
-  _to_db_entity(struct.entity)
-  _to_entity(db_entity) : outside dal instance because they doen't use Dal class field (gcloud client)
some new private methods are created for refactoring.

Dal client is instanciated with a mock credential in test environment (as advised in
https://github.com/GoogleCloudPlatform/gcloud-python/issues/1839
)
Pull Request #53: Feature/feature flexible env

775 of 801 relevant lines covered (96.75%)

0.97 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
100.0
src/orchestrator/orchestrator/initialize_topicmodeller.py
2
100.0
src/server/server/frontendstructs.py
4
100.0
src/orchestrator/orchestrator/scrap_and_learn.py
4
100.0
src/server/server/dal.py
Jobs
ID Job ID Ran Files Coverage
1 349.1 18 Jun 2016 09:39PM UTC 0
96.75
Travis Job 349.1
Source Files on build 349
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #349
  • Pull Request #53
  • PR Base - master (#304)
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