2. Create check_argparse which allows us to check which flags are or are not included in argparse statements.
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
- Import importlib, os, and sys to each python script.
- Append "lanforge-scripts" root directory to the system path, allowing each script to be called from an antecedent directory. e.g.
if 'lanforge-scripts' not in sys.path:
sys.path.append(os.path.join(os.path.abspath(__file__ + "../../../../../")))
- All statements of the form 'from <module> import <class>' replace with:
<module> = importlib.import_module("lanforge-scripts.<directory>.<module>")
<class> = <module>.<class>
And tweak base class to be a bit more friendly about
reporting on what the influxdb code is doing or not.
Signed-off-by: Ben Greear <greearb@candelatech.com>
And tweak default cmd line args for others so that they
must be specified in order to override the other config
options (such as raw files).
Signed-off-by: Ben Greear <greearb@candelatech.com>
Convert ap-auto test to use this new base class
API. This should save a lot of duplicated code
once process is complete for other CV tests.
Signed-off-by: Ben Greear <greearb@candelatech.com>
--set supports setting values by their GUI label, which is probably
easier for a user to understand than having to find the value in the
raw config blob.
Signed-off-by: Ben Greear <greearb@candelatech.com>