mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-15 07:18:35 -05:00
collect jt table for analytics
This commit is contained in:
@@ -6,16 +6,17 @@ from awx.main.analytics import collectors
|
||||
|
||||
@pytest.mark.django_db
|
||||
def test_empty():
|
||||
print(collectors.counts(None))
|
||||
assert collectors.counts(None) == {
|
||||
"active_api_sessions": 0,
|
||||
"active_channels_sessions": 0,
|
||||
"active_anonymous_sessions": 0,
|
||||
"active_host_count": 0,
|
||||
"active_sessions": 0,
|
||||
"credential": 0,
|
||||
"custom_inventory_script": 0,
|
||||
"custom_virtualenvs": 0, # dev env ansible3
|
||||
"host": 0,
|
||||
'inventory': 0,
|
||||
"inventory": 0,
|
||||
"inventories": {'normal': 0, 'smart': 0},
|
||||
"job_template": 0,
|
||||
"notification_template": 0,
|
||||
|
||||
Reference in New Issue
Block a user