Skip to content

Commit

Permalink
fix: tests service import
Browse files Browse the repository at this point in the history
  • Loading branch information
tristiisch committed Oct 1, 2024
1 parent 079ef37 commit df33bd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pyramid/api/services/tools/register.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ class ServiceRegister:

@classmethod
def enable(cls):
cls.__import_services()
cls.import_services()
cls.__create_services()
cls.__determine_service_order()
cls.__inject_services()
cls.__start_services()

Check warning on line 24 in src/pyramid/api/services/tools/register.py

View check run for this annotation

Codecov / codecov/patch

src/pyramid/api/services/tools/register.py#L20-L24

Added lines #L20 - L24 were not covered by tests

@classmethod
def __import_services(cls):
def import_services(cls):
package_name = "pyramid.services"
package = importlib.import_module(package_name)

Expand Down

0 comments on commit df33bd3

Please sign in to comment.