Closed bradyzp closed 6 years ago
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 | |
---|---|
Change from base Build 307: | 0.2% |
Covered Lines: | 2268 |
Relevant Lines: | 3507 |
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