qutebrowser profile manager
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 2.0 16 lines 520 B view raw
1from pathlib import Path 2 3from qbpm import Profile 4from qbpm.desktop import create_desktop_file 5 6TEST_DIR = Path(__file__).resolve().parent 7 8 9def test_create_desktop_file(tmp_path: Path): 10 application_path = tmp_path / "applications" 11 application_path.mkdir() 12 profile = Profile("test", tmp_path) 13 create_desktop_file(profile, application_path) 14 assert (application_path / "test.desktop").read_text() == ( 15 TEST_DIR / "test.desktop" 16 ).read_text().replace("{qbpm}", " ".join(profile.cmdline()))