mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-06-16 11:33:13 +03:00
Fix pytest warning
This commit is contained in:
parent
668cb33b05
commit
80ea9120b6
|
@ -11,7 +11,7 @@ def index():
|
|||
return "Hello World!"
|
||||
|
||||
|
||||
def test():
|
||||
def _test():
|
||||
return "Test!"
|
||||
|
||||
|
||||
|
@ -25,7 +25,7 @@ class ApplicationContainer(containers.DeclarativeContainer):
|
|||
app = flask.Application(Flask, __name__)
|
||||
|
||||
index_view = flask.View(index)
|
||||
test_view = flask.View(test)
|
||||
test_view = flask.View(_test)
|
||||
test_class_view = flask.ClassBasedView(Test)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user