Пример #1
0
def test_GenFile_NotImplementedError():
    """Test GenFile throws Error"""
    from electrolib.sources.genfile import GenFile
    import py.test
    # Crete GenFile
    gf = GenFile([{'label':'chan1'}])
    with py.test.raises(NotImplementedError):
        gf._ft([], [])
    with py.test.raises(NotImplementedError):
        gf.get_signals(gf.tstart, gf.tend)