예제 #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