Skip to content

Commit

Permalink
oof
Browse files Browse the repository at this point in the history
  • Loading branch information
altendky committed Nov 26, 2024
1 parent 700caf9 commit e631061
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions chia/_tests/core/server/test_dos.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,8 @@ async def test_invalid_protocol_handshake(self, setup_two_nodes_fixture, self_ho
await session.close()
await asyncio.sleep(1) # give some time for cleanup to work

@pytest.mark.parametrize("n", range(10))
@pytest.mark.anyio
async def test_spam_tx(self, setup_two_nodes_fixture, self_hostname, n):
async def test_spam_tx(self, setup_two_nodes_fixture, self_hostname):
nodes, _, _ = setup_two_nodes_fixture
_full_node_1, full_node_2 = nodes
server_1 = nodes[0].full_node.server
Expand Down
2 changes: 1 addition & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[pytest]
; logging options
log_cli = True
log_cli = False
addopts = --verbose --tb=short -n auto -p no:monitor
log_level = WARNING
console_output_style = count
Expand Down
2 changes: 1 addition & 1 deletion ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ ignore = [
ban-relative-imports = "all"

[lint.flake8-tidy-imports.banned-api]
"asyncio.create_task".msg = "Use `from chia.util.pit import pit` and `pit.create_task()`"
"asyncio.create_task".msg = "Use `from chia.util.task_referencer import create_referenced_task` and `create_referenced_task()`"

[lint.isort]
required-imports = ["from __future__ import annotations"]
Expand Down

0 comments on commit e631061

Please sign in to comment.