Skip to content

Commit

Permalink
rm unpatch
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwin1111 committed Oct 20, 2023
1 parent 376ae1d commit 3aae4b4
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,3 @@ def default_session_fixture(request):

patched_5 = mock.patch('fyle.platform.apis.v1beta.spender.MyProfile.get', return_value=fyle_data['admin_user'])
patched_5.__enter__()

def unpatch():
patched_1.__exit__()
patched_2.__exit__()
patched_3.__exit__()
patched_4.__exit__()
patched_5.__exit__()

request.addfinalizer(unpatch)

0 comments on commit 3aae4b4

Please sign in to comment.