dsoprea / PyInotify

An efficient and elegant inotify (Linux filesystem activity monitor) library for Python. Python 2 and 3 compatible.
GNU General Public License v2.0
242 stars 73 forks source link

Increase test coverage of Inotify initializer #76

Closed dwvisser closed 4 years ago

dwvisser commented 5 years ago

I noticed that coverage was missing for:

        for path in paths:
            self.add_watch(path)

I've also added a small test case that exercises a possible error path, when attempting to add non-existent folders to the watch list.

coveralls commented 5 years ago

Coverage Status

Coverage increased (+1.7%) to 86.806% when pulling 34e2c7d59bc5e5353340adc392427e2cc8b1589f on dwvisser:IncreaseTestCoverage into 288a2b01fd4a726dc68d960f8351630aee788a13 on dsoprea:master.