James Cammarata
fbec2d9692
Expand return code values returned by TQM and strategies
...
This allows the PlaybookExecutor to receive more information regarding
what happened internal to the TaskQueueManager and strategy, to determine
things like whether or not the play iteration should stop.
Fixes #15523
2016-06-08 10:21:57 -05:00
Brian Coca
27f4730c29
correctly deals with non serializable type
...
combine_vars shoudl really be data types, but some just get in
in test, add dict to mock and avoid combine_vars using object
2016-01-18 15:17:43 -05:00
James Cammarata
d7f2f606e1
Add has_hostkey to mock objects to fix broken unit tests
2015-12-16 21:49:33 -05:00
James Cammarata
6109f70397
Attempt at fixing strategy unit test failures on py2.6 and py3
2015-12-16 14:02:25 -05:00
James Cammarata
279c5a3596
Cleanup strategy tests broken by new forking strategy
2015-12-14 03:07:20 -05:00
Brian Coca
b6d6c2e4db
corrected all missing paths changes
2015-09-15 11:57:54 -04:00
James Cammarata
8146a193eb
Fix strategy base unit tests after 88e1ef8
2015-07-24 10:53:54 -04:00
James Cammarata
e64989beb4
Moving ConnectionInformation -> PlayContext
...
Also making PlayContext a child class of the Playbook Base class,
which gives it access to all of the FieldAttribute code to ensure
field values are correctly typed after post_validation
Fixes #11381
2015-07-21 12:13:50 -04:00
James Cammarata
fadd8f23f1
Fix broken strategy unit test from earlier change
2015-07-20 15:47:29 -04:00
James Cammarata
3b913943b2
Updating base strategy unit test regarding bad file loads based on earlier change
2015-07-14 11:09:22 -04:00
James Cammarata
bfbb88b4a9
Fix strategy plugin unit tests related to earlier changes
2015-07-07 16:26:24 -04:00
Matt Martz
49d19e82ab
Get tests passing
...
The largest failure in the tests was due to selinux not being installed.
The tests don't require it to be installed, so mock the import.
2015-06-05 16:05:39 -05:00
James Cammarata
0828028c71
Fixing unit test for included file changes
2015-05-29 00:15:14 -05:00
James Cammarata
9921a1d2be
Unit tests for base strategy class (v2)
2015-05-21 02:03:59 -05:00
James Cammarata
21fa385ce7
Reorganizing plugin unit tests and adding start of strategy tests (v2)
2015-05-18 17:26:59 -07:00