Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config tests #678

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
a6676e9
Rewrite of MainConfig.py to use singleton
hickey Nov 7, 2022
71e7420
Added PyTest modules to requirements.txt
hickey Nov 7, 2022
7caeaa7
Initial set of tests for MainConfig
hickey Nov 7, 2022
43d0dbe
Handle readonly values better in MainConfig
hickey Nov 8, 2022
c27bb73
Removed FTS_FED_PASSWORD as not documented
hickey Nov 8, 2022
ffef445
Added processing of YAML config
hickey Nov 8, 2022
d71dbdb
Added testing of YAML config
hickey Nov 8, 2022
cb5d54b
Fixed MainConfig to handle bool env vars
hickey Nov 8, 2022
2c31620
Fixed default paths based on common variable
hickey Nov 9, 2022
11f30e4
Added test of YAML config with env var overrides
hickey Nov 9, 2022
1c8cc11
Added tests to validate config as attributes
hickey Nov 9, 2022
95cc19b
Mass update of code accessing MainConfig
hickey Nov 10, 2022
da375f9
Added AllowCLIIPs to new config architecture
hickey Nov 16, 2022
f1a9565
Added tests for dealing with list vars (i.e. AllowCLIIPs)
hickey Nov 16, 2022
15ed052
Moved constants to top of MainConfig.py for readability
hickey Nov 16, 2022
3d1aeaa
Moved nodeID into new config structure
hickey Nov 16, 2022
7d74c67
Added reset() to reinit config for testing
hickey Nov 16, 2022
f71429e
Added version and CLIIP to config structure
hickey Nov 16, 2022
f94a5d2
Refactored ip var to private
hickey Nov 16, 2022
01b5104
Fixed calls for config information
hickey Nov 16, 2022
f28c6e2
Added tests for config vars with dict access
hickey Nov 16, 2022
1f885e7
Updated comments to assist other devs
hickey Nov 16, 2022
34518fc
Clean up from a bad merge
hickey Nov 21, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added PyTest modules to requirements.txt
Signed-off-by: Gerard Hickey <[email protected]>
hickey committed Nov 20, 2022
commit 71e7420e6b1d9aa3fe6550dbb29ca4420377b4f6
6 changes: 5 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -2,4 +2,8 @@
#
# installs dependencies from ./setup.py, and the package itself,
# in editable mode for development
-e .
-e .

pytest>=7.0.0
pytest-pep8>=1.0.0
pytest-cov>=4.0.0