From 686312a42734edc8933b26b6feb5557ada72fca9 Mon Sep 17 00:00:00 2001 From: Chris Meyers Date: Tue, 16 Jun 2015 13:11:09 -0400 Subject: [PATCH] fix fact cache reciever unit tests to use inventory_id in message --- awx/main/tests/commands/run_fact_cache_receiver.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/awx/main/tests/commands/run_fact_cache_receiver.py b/awx/main/tests/commands/run_fact_cache_receiver.py index 13f150a9b5..0940c05e4e 100644 --- a/awx/main/tests/commands/run_fact_cache_receiver.py +++ b/awx/main/tests/commands/run_fact_cache_receiver.py @@ -21,7 +21,8 @@ __all__ = ['RunFactCacheReceiverUnitTest', 'RunFactCacheReceiverFunctionalTest'] TEST_MSG_BASE = { 'host': 'hostname1', 'date_key': time.mktime(datetime.utcnow().timetuple()), - 'facts' : { } + 'facts' : { }, + 'inventory_id': 1 } TEST_MSG_MODULES = {