Skip to content

Commit cad933d

Browse files
more tests yay
1 parent 0557940 commit cad933d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test_cli/test_cli_targetctl.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,8 @@ def test_cli_targetctl(bbot_server_http):
8484
# list targets (text)
8585
process = subprocess.run(BBCTL_COMMAND + ["scan", "target", "list"], capture_output=True, text=True)
8686
assert process.returncode == 0
87-
assert process.stdout.count("Target 1") == 1
88-
assert process.stdout.count("Target 2") == 1
8987
assert process.stdout.count("Target") == 3
88+
assert len(process.stdout.splitlines()) == 6
9089

9190
# delete target1 (must specify name or id)
9291
process = subprocess.run(

0 commit comments

Comments
 (0)