示例#1
0
def test_selectOutputConfig4():
    '''
  Output config selection test
  '''
    try:
        selectOutputConfig('xyz')
        assert False
    except ValueError:
        pass
示例#2
0
def test_selectOutputConfig3():
    '''
  Output configuration selection test
  '''
    config = selectOutputConfig('custom_rate')
    assert config == CustomRateConfig
示例#3
0
def test_selectOutputConfig1():
    '''
  Output configuration selection test
  '''
    config = selectOutputConfig('normal_rate')
    assert config == NormalRateConfig
示例#4
0
def test_selectOutputConfig2():
    '''
  Output configuration selection test
  '''
    config = selectOutputConfig('high_rate')
    assert config == HighRateConfig
示例#5
0
def test_selectOutputConfig0():
    '''
  Output configuration selection test
  '''
    config = selectOutputConfig('low_rate')
    assert config == LowRateConfig