forked from kytos/pathfinder
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- test_graph now test_search_results - test_graph1, 2, 3 now test_search1_results1, 2, 3 - fixed test_constrained_path9 in test_search_results1 - class names changed to reflect new file names - moved files to unit folder Fixed padding in graph.py Cleaned up constrained_flexible_paths and added comments - compacted default_edge_list and flexible assignments - renamed some variables - changed loop from for to while Removed failing tests for checking Fixed formatting issues Fixed more formatting issues Minimized local variable count - 5 parameters instead of 6 - 17 local vars instead of 18 Fixed all formatting errors Fixed minor formatting error Changed logic to support code reuse Revamped parameter passing. - calling constrained flexible paths is now more user-friendly - test updated to reflect changes. Changed REST API parameters Fixed KytosGraph import in Main Implement Humberto's fixes Updated comments and changed endpoints for new UI Added missing endpoint changes Updated KytosGraph, TestResults and subclasses - KytosGraph - set_path_function removed. - TestResults - test_setup method removed. - setup method renamed to setUp to run at the start of every test - TestResultsSimple, TestResultsMetaData, TestResultsEdges - Removed explicit setup call Gave better descriptions to test subclasses. Undid KytosGraph import change in Main. Linting fixes - TestResults - removed unused import. - TestResultsMetadata - fixed two methods with same name. Fixed JSON serialization of error message Re-added methods and reverted update_links Fixed linting issue changed extend back to append Update tests/unit/test_results.py Standardized decorators Co-authored-by: Gleyberson Andrade <[email protected]> Updated return values of shortest_constrained_path - Returns 400 BAD REQUEST if user provides an illegal attribute value Remove space from decorator Changed maximum misses variable to minimum hits - This is to reflect changes from kytos#62 Co-authored-by: Humberto Diógenes <[email protected]>
- Loading branch information
1 parent
982c7a4
commit 2b8929e
Showing
9 changed files
with
572 additions
and
604 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.