コード例 #1
0
def test_reporting_disabled(venv):
    output = run(venv, 'namespace', set_tc_version=True, options="--no-teamcity")
    assert not has_service_messages(output)
コード例 #2
0
def test_tc_reporting(venv):
    output = run(venv, 'namespace')
    assert has_service_messages(output)
コード例 #3
0
def test_no_reporting_when_no_teamcity(venv):
    output = run(venv, 'namespace', set_tc_version=False)
    assert not has_service_messages(output)
コード例 #4
0
def test_force_tc_reporting(venv):
    output = run(venv, 'namespace', options="--teamcity", set_tc_version=False)
    assert has_service_messages(output)
コード例 #5
0
def test_reporting_disabled(venv):
    output = run(venv,
                 'namespace',
                 set_tc_version=True,
                 options="--no-teamcity")
    assert not has_service_messages(output)
コード例 #6
0
def test_no_reporting_when_no_teamcity(venv):
    output = run(venv, 'namespace', set_tc_version=False)
    assert not has_service_messages(output)
コード例 #7
0
def test_tc_reporting(venv):
    output = run(venv, 'namespace')
    assert has_service_messages(output)
コード例 #8
0
def test_force_tc_reporting(venv):
    output = run(venv, 'namespace', options="--teamcity", set_tc_version=False)
    assert has_service_messages(output)