1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 01:21:21 +03:00

Merge pull request #311 from chrismeyersfsu/fix-workload_generator4

use file fact scan data for file fact scan module scans
This commit is contained in:
Chris Meyers 2015-07-17 10:24:52 -04:00
commit fd3422437d

View File

@ -81,11 +81,107 @@ TEST_FACT_SERVICES = [
}, },
] ]
TEST_FACT_FILES = [
{
"uid": 0,
"woth": False,
"mtime": 1436810539.5895822,
"inode": 525214,
"isgid": False,
"size": 0,
"isuid": False,
"isreg": True,
"gid": 0,
"ischr": False,
"wusr": True,
"xoth": False,
"islnk": False,
"nlink": 1,
"issock": False,
"rgrp": True,
"path": "/test/1948",
"xusr": False,
"atime": 1436810539.5895822,
"isdir": False,
"ctime": 1436810539.5895822,
"isblk": False,
"wgrp": False,
"xgrp": False,
"dev": 64768,
"roth": True,
"isfifo": False,
"mode": "0644",
"rusr": True
},
{
"uid": 0,
"woth": False,
"mtime": 1436810540.4955823,
"inode": 526295,
"isgid": False,
"size": 0,
"isuid": False,
"isreg": True,
"gid": 0,
"ischr": False,
"wusr": True,
"xoth": False,
"islnk": False,
"nlink": 1,
"issock": False,
"rgrp": True,
"path": "/test/3029",
"xusr": False,
"atime": 1436810540.4955823,
"isdir": False,
"ctime": 1436810540.4955823,
"isblk": False,
"wgrp": False,
"xgrp": False,
"dev": 64768,
"roth": True,
"isfifo": False,
"mode": "0644",
"rusr": True
},
{
"uid": 0,
"woth": False,
"mtime": 1436810540.5825822,
"inode": 526401,
"isgid": False,
"size": 0,
"isuid": False,
"isreg": True,
"gid": 0,
"ischr": False,
"wusr": True,
"xoth": False,
"islnk": False,
"nlink": 1,
"issock": False,
"rgrp": True,
"path": "/test/3135",
"xusr": False,
"atime": 1436810540.5825822,
"isdir": False,
"ctime": 1436810540.5825822,
"isblk": False,
"wgrp": False,
"xgrp": False,
"dev": 64768,
"roth": True,
"isfifo": False,
"mode": "0644",
"rusr": True
},
]
FACT_FIXTURES = { FACT_FIXTURES = {
'ansible': TEST_FACT_ANSIBLE, 'ansible': TEST_FACT_ANSIBLE,
'packages': TEST_FACT_PACKAGES, 'packages': TEST_FACT_PACKAGES,
'services': TEST_FACT_SERVICES, 'services': TEST_FACT_SERVICES,
'files': TEST_FACT_ANSIBLE, 'files': TEST_FACT_FILES,
} }
EXPERIMENT_DEFAULT = { EXPERIMENT_DEFAULT = {