Skip to content

Commit

Permalink
fix patcher
Browse files Browse the repository at this point in the history
  • Loading branch information
gillardoLapp committed Jan 23, 2025
1 parent 4d74b91 commit c02221a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ class TestRucioFileCatalogClient(unittest.TestCase):

def setUp(self):
self.patcher = patch.object(RucioFileCatalogClient, 'client', new_callable=MagicMock)
self.mock_client = self.patcher.start()
self.client = RucioFileCatalogClient()
self.client.scopes = ['test_scope']
self.patcher.start()

def tearDown(self):
self.patcher.stop()
Expand Down

0 comments on commit c02221a

Please sign in to comment.