def test_x11_no_fail(self):
    ' Test combined spectral plots. '
    os.chdir((REAL_PATH + '/data/dispersion'))
    sys.argv = ['dispersion', 'K3P-OQMD_4786-CollCode25550', '--dos_only', '--cmap', 'viridis', '--figsize', '10', '10']
    errored = False
    try:
        matador.cli.dispersion.main()
    except Exception as exc:
        errored = True
        error = exc
    os.chdir(ROOT_DIR)
    if errored:
        raise error
Test combined spectral plots.
def test_x11_no_fail(self):
    '  '
    os.chdir((REAL_PATH + '/data/dispersion'))
    sys.argv = ['dispersion', 'K3P-OQMD_4786-CollCode25550', '--dos_only', '--cmap', 'viridis', '--figsize', '10', '10']
    errored = False
    try:
        matador.cli.dispersion.main()
    except Exception as exc:
        errored = True
        error = exc
    os.chdir(ROOT_DIR)
    if errored:
        raise error