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

toonarmycaptain / dionysus / 1327 / 4
97%
development: 97%

Build:
Build:
LAST BUILD BRANCH: dependabot/pip/development/mypy-1.18.2
DEFAULT BRANCH: development
Ran 27 Jun 2020 05:47PM UTC
Files 31
Run time 2s
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

27 Jun 2020 05:38PM UTC coverage: 96.264% (+2.0%) from 94.28%
1327.4

push

travis-ci-com

web-flow
Merge pull request #317 from toonarmycaptain/development

Implement Database object/refactoring.


Refactor application to use `Database` object in `definitions.DATABASE` for all interactions with persistence.

### Added
- Implement `Database` object to handle persistence 
- Implement `JSONDatabase(Database)` (original/current database backend).
### Changed
- Refactor all code/calls dealing with persistence to `definitions.DATABASE`.
- `Student.avatar_filename` changed to `Student.avatar_id` for naming consistency between database backends. This is ***backwards incompatible***, but is a simple string replace operation in any current data files.
- `JSONDatabase`'s `Registry` now checks if on-disk version of registry is correct, only writing to it if incorrect or non-existent.
- Increased test coverage, more tests converted to Pytest style tests.
- When clicking 'x' instead of 'save as' when a chart is displayed, UI no longer freezes, nor pops up a 'save chart as' file dialogue. 
### Removed
- `class_registry_functions.py`, `test_class_registry_functions.py`: functionality moved to `Registry` object in `persistence/databases/json_registry.py`.
### Depreciated
- Python 3.6 support ends with this release.
- Python 3.7 support will soon be removed also, in next release following release of python 3.9 - plan is to only support 2 minor releases of python at one time.
- `JSONDatabase` might be removed at some point, or not support new features, although it, or the data format might be kept for utility of debugging and editing.
- `data_version_conversion.py` will not be supporting conversion from older formats than current to any future versions.

1005 of 1044 relevant lines covered (96.26%)

0.96 hits per line

Source Files on job 1327.4
  • Tree
  • List 0
  • Changed 21
  • Source Changed 21
  • Coverage Changed 21
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1087
  • Travis Job 1327.4
  • 09fc7a2a on github
  • Prev Job for on master (#1188.2)
  • Next Job for on master (#1460.1)
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