Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue bytes vs str related warnings from tests #101186

Merged
merged 1 commit into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ jobs:
cov_params+=(--cov-report=xml)
fi

python3 -X dev -m pytest \
python3 -b -X dev -m pytest \
-qq \
--timeout=9 \
--durations=10 \
Expand Down Expand Up @@ -799,7 +799,7 @@ jobs:
cov_params+=(--cov-report=term-missing)
fi

python3 -X dev -m pytest \
python3 -b -X dev -m pytest \
-qq \
--timeout=9 \
-n auto \
Expand Down Expand Up @@ -920,7 +920,7 @@ jobs:
cov_params+=(--cov-report=term-missing)
fi

python3 -X dev -m pytest \
python3 -b -X dev -m pytest \
-qq \
--timeout=20 \
-n 1 \
Expand Down Expand Up @@ -1044,7 +1044,7 @@ jobs:
cov_params+=(--cov-report=term-missing)
fi

python3 -X dev -m pytest \
python3 -b -X dev -m pytest \
-qq \
--timeout=9 \
-n 1 \
Expand Down
1 change: 1 addition & 0 deletions script/lint_and_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ async def main():

code, _ = await async_exec(
"python3",
"-b",
"-m",
"pytest",
"-vv",
Expand Down
3 changes: 2 additions & 1 deletion script/scaffold/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,11 @@ def main():

if args.develop:
print("Running tests")
print(f"$ python3 -m pytest -vvv tests/components/{info.domain}")
print(f"$ python3 -b -m pytest -vvv tests/components/{info.domain}")
subprocess.run(
[
"python3",
"-b",
"-m",
"pytest",
"-vvv",
Expand Down