beeankha
0f3aefe592
Fix pep8 errors, rebase
2020-08-26 19:51:10 -04:00
John Westcott IV
7afd84dc49
Resolving issue in test_completness
2020-08-26 19:50:04 -04:00
John Westcott IV
2690fcec31
Adding insights credential to tower_inventory
...
Fixed a spacing issue in documentation
Enhanced integration test to include a block to ensure cleanup of assets
2020-08-26 19:50:04 -04:00
softwarefactory-project-zuul[bot]
1514a5ac23
Merge pull request #7963 from john-westcott-iv/tools
...
Collections Completeness Tests
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-08-26 19:34:52 +00:00
John Westcott IV
2b6e4fe353
Permissions change, spell check, pep8, etc
2020-08-26 10:16:37 -04:00
John Westcott IV
b7b304eb84
Changing how we check modules
...
Options which are not in the API POST and are marked in the module as deprecated are ignored
If an option is not in the API POST but is marked as a list we assume its a relation
2020-08-26 10:16:37 -04:00
John Westcott IV
8f97109ac7
Fixing PY2 compile issues
2020-08-26 10:16:37 -04:00
John Westcott IV
730a9b25ac
Fixing pep8 and other issues
2020-08-26 10:16:37 -04:00
John Westcott IV
a36d942f67
Migrating old test_notification test to test_notification_template
2020-08-26 10:16:37 -04:00
John Westcott IV
b1ffbf1e39
Change module from tower_notification to tower_notification_template
2020-08-26 10:16:37 -04:00
John Westcott IV
f8290f0ce3
Fixing flake8 and adding more module OKs
2020-08-26 10:16:37 -04:00
John Westcott IV
1ad4c4ab86
Fixing pep8 issues
2020-08-26 10:16:37 -04:00
John Westcott IV
9353e94629
Spell checking
2020-08-26 10:16:37 -04:00
John Westcott IV
85a1233764
Adding read-only endpoint check, fixing typo, adding needs_development check
2020-08-26 10:16:37 -04:00
John Westcott IV
c2cdd8e403
Initial commit of test_completeness
2020-08-26 10:16:37 -04:00
beeankha
da732a3941
Add unit test, update lookup method to favor ID over name
2020-08-25 14:57:02 -04:00
John Westcott IV
748bdbd2dd
Fix python3 Zuul error with awxkit
2020-08-19 14:12:50 -04:00
John Westcott IV
40f6741474
Adding import/export awx kit features
...
Changed library structure
Origional TowerModule becomes TowerLegacyModule
TowerModule from tower_api becomes TowerAPIModule
A real base TowerModule is created in tower_module.py
A new TowerAWXKitModule is created in tower_awxkit
TowerAWXKitModule and TowerAPIModule are child classes of TowerModule
2020-08-19 14:12:50 -04:00
AlanCoding
750c22a150
Handle not-provided falsy values in tower_inventory_source
2020-07-29 21:55:20 -04:00
beeankha
fe176a4f8c
Match test playbook output to edited module output
2020-07-28 11:50:19 -04:00
AlanCoding
a7fe5e1dd2
Fix yamllint error and sync version with module_utils
2020-06-19 09:08:58 -04:00
Tom Page
fd18194b1b
Fix pylint errors
2020-06-16 15:57:19 +01:00
Tom Page
73a39c1e55
Cleanup of debug and change test fixtures
...
Signed-off-by: Tom Page <tpage@redhat.com >
2020-06-16 14:30:28 +01:00
Tom Page
1c78190385
Change cred_input_src to remove src_cred as primarykey
...
Signed-off-by: Tom Page <tpage@redhat.com >
2020-06-16 13:56:49 +01:00
Tom Page
4c55685656
Add tower_credential_input_source to awx_collection
...
Signed-off-by: Tom Page <tpage@redhat.com >
2020-06-16 13:17:11 +01:00
John Westcott IV
76dcd6d72a
Fixing scooby doo fingers
2020-06-08 07:49:58 -04:00
John Westcott IV
3b60529488
Fixes in testing and parameter processing
2020-06-08 06:42:33 -04:00
John Westcott IV
e6416d770b
Initial cut at tower_token module
2020-06-05 13:50:09 -04:00
AlanCoding
e3814c6f0f
Share inventory plugin auth code with modules
...
refactor shared auth option definitions to repeat less
2020-06-02 21:17:12 -04:00
softwarefactory-project-zuul[bot]
496c0c5921
Merge pull request #6733 from john-westcott-iv/tower_schedule
...
Initial version of tower_schedule
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-05-21 18:34:57 +00:00
Alan Rominger
22cdc129ad
Patches from tinkering with tests and default to devel version ( #8 )
...
This causes make install_collection to avoid templating the version
so that it can still be used as-is in development
2020-05-18 08:51:39 -04:00
beeankha
b80127dd40
Fix up unit tests (no more double mocking)
2020-05-15 09:26:33 -04:00
beeankha
6a9423626c
Add field numbering specification in module_util file, update unit tests
2020-05-15 09:26:29 -04:00
beeankha
4321c63165
Remove silence_warning (because of autouse), add version/type warning tests to module_utils unit test file
2020-05-15 09:24:44 -04:00
beeankha
8c5d236066
Update unit tests to not pull in version warnings
2020-05-15 09:24:43 -04:00
beeankha
10be375137
Update Makefile to find correct python path for testing
2020-05-07 16:37:04 -04:00
John Westcott IV
1d91387f58
Adding validation of rrule output thorugh awx searlizer
2020-05-07 14:42:47 -04:00
AlanCoding
d825cca9f2
Unit testing of tower_schedule
...
Move previously integration tests of lookup plugin to unit tests
delete all integration tests except some basic demo tests
do simple create unit test
2020-05-07 14:42:47 -04:00
beeankha
8f1fccefeb
Add notification association functionality to tower_workflow_job_template module, along with updated integration/unit tests
2020-05-07 11:44:43 -04:00
beeankha
a3cd858665
Add JT module unit test
2020-05-06 08:47:45 -04:00
AlanCoding
fd93964953
Changed status tweaks for API validation and encryption
...
API validation topic:
- do not set changed=True if the object did not actually change
- deals with cases where API manipulates data before saving
Warn if encrypted data prevent accurate changed status
Handle false changed case of tower_user password
password field not present in data
Test changed=True warning with JT/WFJT survey spec defaults
case for list data in JSON
2020-04-09 09:58:12 -04:00
softwarefactory-project-zuul[bot]
285e9c2f62
Merge pull request #6635 from AlanCoding/no_tower_cli
...
Remove tower-cli from Zuul CI for AWX collection
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-04-07 20:46:45 +00:00
AlanCoding
0e8f2307fc
Remove tower-cli from Zuul CI for AWX collection
2020-04-07 13:31:06 -04:00
AlanCoding
bcfd2d6aa4
Silence deprecation warnings from tower_credential
2020-04-07 13:24:34 -04:00
beeankha
f5cf7c204f
Update unit test, edit credential module to pass sanity tests
2020-04-06 10:11:18 -04:00
John Westcott IV
6d08e21511
Resolving comment and updating tests
2020-04-06 10:11:18 -04:00
AlanCoding
3f64768ba8
loosen some credential test assertions
2020-04-06 10:11:18 -04:00
AlanCoding
dbe3863b04
Allow setting identifier for approval nodes
2020-04-03 15:33:57 -04:00
Ryan Petrello
8b00b8c9c2
remove deprecated legacy manual inventory source support
...
see: https://github.com/ansible/awx/issues/6309
2020-04-03 10:54:43 -04:00
AlanCoding
e99500cf16
Mark test as xfail, move to unit testing
2020-04-02 14:48:33 -04:00