Merge branch 'master' into facts

This commit is contained in:
Mike Terzo
2017-06-10 03:40:13 -04:00
committed by GitHub
14 changed files with 161 additions and 75 deletions

View File

@@ -820,4 +820,4 @@ def test_node_facts_json(client, mocker,
for line in result_json['data']:
assert len(line) == 2
assert 'chart' not in result_json
assert 'chart' not in result_json

View File

@@ -116,3 +116,11 @@ def test_env_table_selector(cleanUpEnv):
os.environ['TABLE_COUNT_SELECTOR'] = '5,15,25'
reload(docker_settings)
assert [5, 15, 25] == docker_settings.TABLE_COUNT_SELECTOR
def test_env_column_options(cleanUpEnv):
os.environ['DISPLAYED_METRICS'] = 'resources.total, events.failure'
reload(docker_settings)
assert ['resources.total',
'events.failure'] == docker_settings.DISPLAYED_METRICS