Skip to content

Commit fc23d61

Browse files
committed
add test for last bug
1 parent 545b8b0 commit fc23d61

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

launchd/tests/plist.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,7 @@ def test_read_write(self):
7878
self.assertTrue(os.path.isfile(fname))
7979
props = plist.read(sample_label, plist.USER)
8080
self.assertEqual(sample_props, props)
81-
os.unlink(fname)
81+
82+
# read it without specifying the scope:
83+
props = plist.read(sample_label)
84+
self.assertEqual(sample_props, props)

0 commit comments

Comments
 (0)