Commit Graph

2662 Commits

Author SHA1 Message Date
Jed Reynolds
0b8e460136 sta_connect.py: provides pass/fail methods:
- passes() method counts any message not /^pass/i as failure
- rearranges guards at top
- defines fail and pass prefixes, fail messages
- removes exit() and sets _halt_on_error to False
- compareVals now using _pass() and _fail()
- changes uses of f-string to modulo-string formatting, allowing tests to run on F24
2020-06-04 15:06:38 -07:00
Jed Reynolds
e2e7e9240c sta_connect: updated to have a results array 2020-06-04 13:32:20 -07:00
Jed Reynolds
2a1e79949f py-json: renames methods to snake_case as per PEP8 2020-06-03 16:51:33 -07:00
Jed Reynolds
958fdef8ca sta_connect_example.py, __init__.py: added example driver 2020-06-03 10:40:20 -07:00
Jed Reynolds
99efd0d9c7 sta_connect.py: adds gaurd 2020-06-03 10:40:20 -07:00
Jed Reynolds
ad1abd4bcb removes realmX scripts from py-scripts 2020-06-01 21:47:37 -07:00
Jed Reynolds
def0120da2 LFRequest.py: uses wpa2 flag; uses waitX methods 2020-06-01 21:45:47 -07:00
Jed Reynolds
f69d4cdb90 sta_connect.py, lfcli_base.py: fixes inheritance mistake, continues refactoring, test now runs 2020-06-01 21:45:47 -07:00
Jed Reynolds
6da7ef8afc sta_connect: refactoring leading to a base class LFCliBase and class structure for sta_connect 2020-06-01 21:45:47 -07:00
Logan Lipke
c7a737700e Changed filename and moved to py-scripts 2020-06-01 14:42:00 -07:00
Logan Lipke
58a4f87c84 Changed filename and moved to py-scripts 2020-06-01 14:41:49 -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