Update testing for ignore macOS directory services file

This commit is contained in:
shamoon 2023-04-18 19:09:24 -07:00
parent 22bb28db62
commit d1984c0dda

View File

@ -271,25 +271,11 @@ class TestConsumer(DirectoriesMixin, ConsumerThreadMixin, TransactionTestCase):
"ignore": False, "ignore": False,
}, },
{ {
"path": os.path.join(self.dirs.consumption_dir, ".DS_STORE", "foo.pdf"), "path": os.path.join(self.dirs.consumption_dir, ".DS_STORE"),
"ignore": True, "ignore": True,
}, },
{ {
"path": os.path.join( "path": os.path.join(self.dirs.consumption_dir, ".DS_Store"),
self.dirs.consumption_dir,
"foo",
".DS_STORE",
"bar.pdf",
),
"ignore": True,
},
{
"path": os.path.join(
self.dirs.consumption_dir,
".DS_STORE",
"foo",
"bar.pdf",
),
"ignore": True, "ignore": True,
}, },
{ {