DynamicGravitySystems / DGP

Dynamic Gravity Processor
http://dgp.readthedocs.io/en/develop/
Apache License 2.0
7 stars 4 forks source link

Bugfix/project api #74

Closed bradyzp closed 6 years ago

bradyzp commented 6 years ago

Fixes a bug in the Flight/Project controller which was causing a crash when attempting to delete a flight via the right-click context menu (see issue #73 ) Also fixes some incorrect import statements (generated by my IDE) which weren't caught earlier, these could lead to crashes/import errors depending on the Python Path setting and/or current working directory when the application is launched.

Adds testing for the FlightController menu bindings. The testing is limited to non-interactive actions (i.e. actions that don't spawn a dialog) due to the way dialogs are currently created. Test was also added to FlightController to verify the structure of the _bindings list, ensuring that the format of the menu declaration is valid.


Resolves #73

coveralls commented 6 years ago

Pull Request Test Coverage Report for Build 310


Changes Missing Coverage Covered Lines Changed/Added Lines %
dgp/gui/main.py 0 1 0.0%
dgp/gui/views/ProjectTreeView.py 0 1 0.0%
dgp/gui/workspace.py 0 1 0.0%
<!-- Total: 14 17 82.35% -->
Totals Coverage Status
Change from base Build 307: 0.2%
Covered Lines: 2268
Relevant Lines: 3507

💛 - Coveralls