Add opt-in autostart desktop entry for the tray applet
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
1451cf7d58
commit
a5e954e0ed
2 changed files with 18 additions and 0 deletions
|
|
@ -157,5 +157,14 @@ class TestSourceInstallPackaging(unittest.TestCase):
|
|||
self.assertIn(phrase, guide)
|
||||
|
||||
|
||||
class TestTrayDesktopEntry(unittest.TestCase):
|
||||
def test_desktop_file_launches_tray_entry_point(self):
|
||||
text = _read("packaging/enodia-sentinel-tray.desktop")
|
||||
self.assertIn("[Desktop Entry]", text)
|
||||
self.assertIn("Type=Application", text)
|
||||
self.assertIn("Exec=enodia-sentinel-tray", text)
|
||||
self.assertRegex(text, r"(?m)^Name=.*Sentinel")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue