Skip to content

Commit

Permalink
Fix typo in purge parameter in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
timj committed Sep 9, 2022
1 parent b8f19ae commit 4139289
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_butler.py
Expand Up @@ -800,9 +800,9 @@ def testPruneCollections(self):
# rollback because they're still referenced by the CHAINED
# collection.
with self.assertRaises(Exception):
butler.pruneCollection(run1, pruge=True, unstore=True)
butler.pruneCollection(run1, purge=True, unstore=True)
with self.assertRaises(Exception):
butler.pruneCollection(run2, pruge=True, unstore=True)
butler.pruneCollection(run2, purge=True, unstore=True)
self.assertCountEqual(set(butler.registry.queryDatasets(..., collections=...)), [ref1, ref2, ref3])
existence = butler.datastore.mexists([ref1, ref2, ref3])
self.assertTrue(existence[ref1])
Expand Down

0 comments on commit 4139289

Please sign in to comment.