Commit f1672d2 1 parent 1c31e64 commit f1672d2 Copy full SHA for f1672d2
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ def test_get_logger():
146
146
with open (flog2 , "r" ) as fl :
147
147
txt = fl .readlines ()
148
148
expected = ["@@@ Process started @@@" ]+ mess + \
149
- ["@@@ Process completed @@@" ]
149
+ ["" , " @@@ Process completed @@@" ]
150
150
assert expected == [t .strip () for t in txt ]
151
151
152
152
# Close log file handler and delete files
@@ -181,7 +181,7 @@ def test_get_logger_contextual():
181
181
ck = bool (re .search ("@@@ Process started @@@" , txt [0 ]))
182
182
ck &= bool (re .search ("\\ { context1 \\ }" , txt [1 ]))
183
183
ck &= bool (re .search ("\\ { context2 \\ }" , txt [2 ]))
184
- ck &= bool (re .search ("@@@ Process completed @@@" , txt [3 ]))
184
+ ck &= bool (re .search ("@@@ Process completed @@@" , txt [4 ]))
185
185
assert ck
186
186
187
187
logger .handlers [1 ].close ()
You can’t perform that action at this time.
0 commit comments