inspec/test/unit/resources
Clinton Wolfe f5251f3c29 Re-work unit tests for user and users (#125)
* Constructor unit tests

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Constructor tests pass, all others gutted

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Basic 'where' test in place, no criteria

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Wired up filter table to backend list users

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Unit testing for has_mfa_enabled and has_console_password

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Simple AWS client implementation for Users

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Rework resource parameters and validation; copy in code from #121

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Add constructor tests

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Add search/recall tests

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Recall unit tests pass

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Failing unit tests for username and has_console_password

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* has_console_password works in unit tests

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* has_mfa_enabled failing unit tests

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* has_mfa_enabled passes unit tests

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Failing unit tests for Access Keys

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* CLean up bad rebase commit

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Access keys property works, as an uncooked AWS response

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* De-linting

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Integration tests work

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Remove provider support libraries

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Integration tests pass for users resource

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* De-lint

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Remove aws connection load from user

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Adapt aws_iam_user to rely on AwsResourceMixin

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2017-12-08 19:34:09 +01:00
..
aws_cloudwatch_alarm_test.rb DRY up AWS resource implementation and test backend implementations (#121) 2017-12-04 19:32:13 +01:00
aws_cloudwatch_log_metric_filter_test.rb DRY up AWS resource implementation and test backend implementations (#121) 2017-12-04 19:32:13 +01:00
aws_ec2_instance_test.rb Add has_roles to aws_ec2_instance (#90) 2017-10-26 15:56:32 -04:00
aws_iam_access_key_test.rb DRY up AWS resource implementation and test backend implementations (#121) 2017-12-04 19:32:13 +01:00
aws_iam_access_keys_test.rb Add aws_iam_access_keys resource (#112) 2017-11-22 14:17:36 -05:00
aws_iam_password_policy_test.rb DRY up AWS resource implementation and test backend implementations (#121) 2017-12-04 19:32:13 +01:00
aws_iam_root_user_test.rb Add has_mfa_enabled? to aws_iam_root_account (#80) 2017-08-16 11:53:44 +02:00
aws_iam_user_test.rb Re-work unit tests for user and users (#125) 2017-12-08 19:34:09 +01:00
aws_iam_users_test.rb Re-work unit tests for user and users (#125) 2017-12-08 19:34:09 +01:00
aws_sns_topic_test.rb DRY up AWS resource implementation and test backend implementations (#121) 2017-12-04 19:32:13 +01:00