(self, unlink)
| 752 | |
| 753 | @patch('os.unlink') |
| 754 | def test_remove(self, unlink): |
| 755 | unlink.return_value = True |
| 756 | p = Pidfile('/var/pid') |
| 757 | p.remove() |
| 758 | unlink.assert_called_with(p.path) |
| 759 | |
| 760 | @patch('os.unlink') |
| 761 | def test_remove_ENOENT(self, unlink): |