Skip to content

Commit

Permalink
Smokin symbiotes
Browse files Browse the repository at this point in the history
  • Loading branch information
byt3bl33d3r committed Nov 23, 2023
1 parent 0e576a0 commit b423256
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
python3 -m pip install --user pipx
pipx install poetry
poetry install
- name: Lint with flake8
- name: Lint with ruff
run: |
# stop the build if there are Python syntax errors or undefined names
poetry run ruff --select=E9,F63,F7,F82 --exit-zero --statistics .
Expand Down
10 changes: 2 additions & 8 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,7 @@ def event_loop():
async def dns_client():
resolver = dns.asyncresolver.Resolver()
resolver.nameservers = ['127.0.0.1']
yield resolver

@pytest_asyncio.fixture(scope="session")
async def alt_port_dns_client():
resolver = dns.asyncresolver.Resolver()
resolver.nameservers = ['127.0.0.1']
resolver.port = 54
resolver.port = 5553
yield resolver

@pytest.fixture(scope="session")
Expand All @@ -52,7 +46,7 @@ async def start_dnschef(config_file):
nameservers=["8.8.8.8"],
tcp=True,
ipv6=False,
port=53
port=5553
))

yield
Expand Down

0 comments on commit b423256

Please sign in to comment.