Skip to content

Commit

Permalink
- Updated injectors.
Browse files Browse the repository at this point in the history
issue #?
  • Loading branch information
albamig committed Apr 4, 2022
1 parent 7e97c87 commit ce0c728
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Test{{aggregate}}(unittest.IsolatedAsyncioTestCase):
self.injector = build_dependency_injector()

async def asyncSetUp(self) -> None:
await self.injector.wire_and_destroy_injections()
await self.injector.wire_and_setup_injections()

async def asyncTearDown(self) -> None:
await self.injector.unwire_and_destroy_injections()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Test{{aggregate}}CommandService(unittest.IsolatedAsyncioTestCase):
await self.injector.wire_and_setup_injections()

async def asyncTearDown(self) -> None:
await self.injector.unwire_and_setup_injections()
await self.injector.unwire_and_destroy_injections()

def test_constructor(self):
service = {{ aggregate }}CommandService()
Expand Down

0 comments on commit ce0c728

Please sign in to comment.