Skip to content

Commit 971ed37

Browse files
committed
fixed failing test
1 parent 8242a27 commit 971ed37

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_application/test_app_context.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ def test_current_config_fails_when_there_is_no_ellar_config_module(caplog):
3030
with caplog.at_level(logging.WARNING):
3131
assert current_config.DEBUG is False
3232
print(caplog.text)
33-
assert caplog.text == (
34-
"WARNING ellar:context.py:98 You are trying to access app config outside app "
33+
assert (
34+
"You are trying to access app config outside app "
3535
"context and ELLAR_CONFIG_MODULE is not specified. This may cause differences "
36-
"in config values with the app\n"
37-
)
36+
"in config values with the app"
37+
) in caplog.text
3838

3939

4040
def test_current_injector_works():

0 commit comments

Comments
 (0)