'With invalid XDG_RUNTIME_DIR, fall back to TempLocation.'

@pytest.mark.linux
@pytest.mark.qt_log_ignore('^QStandardPaths:    ')
def test_linux_invalid_runtimedir(self, monkeypatch, tmpdir):

    monkeypatch.setenv('XDG_RUNTIME_DIR', str((tmpdir / 'does-not-exist')))
    monkeypatch.setenv('TMPDIR', str((tmpdir / 'temp')))
    assert (standarddir.runtime() == str(((tmpdir / 'temp') / 'qute_test')))
