How to use the puppetboard.core function in puppetboard

To help you get started, we’ve selected a few puppetboard examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github voxpupuli / puppetboard / test / test_docker_settings.py View on Github external
def test_bad_log_value(cleanUpEnv, mocker):
    os.environ['LOGLEVEL'] = 'g'
    os.environ['PUPPETBOARD_SETTINGS'] = '../puppetboard/docker_settings.py'
    reload(docker_settings)

    puppetboard.core.APP = None
    with pytest.raises(ValueError) as error:
        puppetboard.core.get_app()
github voxpupuli / puppetboard / test / test_docker_settings.py View on Github external
def test_bad_log_value(cleanUpEnv, mocker):
    os.environ['LOGLEVEL'] = 'g'
    os.environ['PUPPETBOARD_SETTINGS'] = '../puppetboard/docker_settings.py'
    reload(docker_settings)

    puppetboard.core.APP = None
    with pytest.raises(ValueError) as error:
        puppetboard.core.get_app()