Skip to content

Commit fc612d0

Browse files
committed
Fix behavior tests for real
1 parent 06eb02b commit fc612d0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

backend/test/test_run_crawl.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1305,17 +1305,15 @@ def test_custom_behavior_logs(
13051305
if log["context"] == "behaviorScriptCustom":
13061306
assert log["message"] in (
13071307
"test-stat",
1308-
"done!",
13091308
"In Test Behavior!",
1310-
"Using Site-Specific Behavior: TestBehavior",
13111309
)
13121310
if log["message"] in ("test-stat", "done!"):
13131311
assert log["details"]["behavior"] == "TestBehavior"
13141312
assert log["details"]["page"] == "https://specs.webrecorder.net/"
13151313

13161314
custom_log_line_count += 1
13171315

1318-
assert custom_log_line_count == 3
1316+
assert custom_log_line_count == 2
13191317

13201318

13211319
def test_crawls_exclude_behavior_logs(

0 commit comments

Comments
 (0)