mirror of
https://github.com/ansible/awx.git
synced 2026-05-17 06:17:36 -02:30
Merge pull request #285 from chrismeyersfsu/fix-fact_tests
fix fact cache reciever unit tests to use inventory_id in message
This commit is contained in:
@@ -21,7 +21,8 @@ __all__ = ['RunFactCacheReceiverUnitTest', 'RunFactCacheReceiverFunctionalTest']
|
|||||||
TEST_MSG_BASE = {
|
TEST_MSG_BASE = {
|
||||||
'host': 'hostname1',
|
'host': 'hostname1',
|
||||||
'date_key': time.mktime(datetime.utcnow().timetuple()),
|
'date_key': time.mktime(datetime.utcnow().timetuple()),
|
||||||
'facts' : { }
|
'facts' : { },
|
||||||
|
'inventory_id': 1
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_MSG_MODULES = {
|
TEST_MSG_MODULES = {
|
||||||
|
|||||||
Reference in New Issue
Block a user