Commit Graph

17 Commits

Author SHA1 Message Date
Logan Lipke
14e3c59ef1 Removed extra base_url in url assignment 2020-06-05 14:50:53 -07:00
Logan Lipke
7f5ec13a7d Rewrote usage of LFRequest to work with new constructor 2020-06-05 14:41:03 -07:00
Logan Lipke
a137ca1792 Fixed missing %s in url 2020-06-05 10:51:51 -07:00
Jed Reynolds
ae014c3eeb LFUtils.py: updates portListToAliasMap to have debug param, raise exception on empty/no results 2020-06-04 22:52:09 -07:00
Logan Lipke
80082e85b1 Changed fstrings to % formatting 2020-06-04 13:58:59 -07:00
Jed Reynolds
b5eb2f9e2f LFUtils.py: lots of debug additions, whitespace/formatting 2020-06-04 00:28:44 -07:00
Ben Greear
cfbe26c76c json: Add python/json unit test script.
And remove flakey helper method in LFUtils, just make user specify
the resource ID when removing ports.

The sta_connect.py script will create a station, run traffic, and calculate
pass/fail based on the results.  Idea is for it to be part of a unit-test framework.
2020-05-28 15:38:16 -07:00
Jed Reynolds
e199faaefb LFUtils.py: gains methods used in connectTest.py 2020-05-26 17:11:03 -07:00
Jed Reynolds
e025387472 LFUtils.py: fixes string comparators 2020-05-26 17:11:03 -07:00
Jed Reynolds
2ca39c5e18 LFUtils.py: fixes typo reference 2020-05-26 17:11:03 -07:00
Jed Reynolds
174cc44893 LFUtils: uses more appropriate assignment operators for python 3.5.x 2020-03-03 09:02:36 -08:00
Jed Reynolds
8933060a6a LFUtils.py methods updated with base_url parameter; additional diagnostic output 2020-01-07 18:24:37 -08:00
Jed Reynolds
1392a4403a LFUtils.py: small improvements 2019-11-21 17:24:01 -08:00
Jed Reynolds
9d70b6c469 py-json: adds convenience methods, defines report timers and other constants 2019-10-30 18:21:37 -07:00
Jed Reynolds
57878e0412 py-json: simplifies get request and error output, examples work better 2019-10-30 16:16:03 -07:00
Jed Reynolds
3c60c2da99 progress making station up/down requests 2019-10-29 18:45:06 -07:00
Jed Reynolds
9da3b1379d py-json: working example of creating and destroying stations 2019-10-29 16:09:56 -07:00