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

Convert homespun tests to conventional tests #780

Merged
merged 3 commits into from
Dec 24, 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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ nosetests.xml
coverage.xml
*,cover
.hypothesis/
test/ssl/demoCA
test/ssl/rootCA
test/ssl/signingCA
tests/ssl/demoCA
tests/ssl/rootCA
tests/ssl/signingCA
*.csr

# Translations
Expand Down
2 changes: 2 additions & 0 deletions conftest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This file ensures pytest keeps this directory in sys.path,
# so you can run `pytest tests/lib`.
11 changes: 10 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ ignore = []
line-length = 167

[tool.ruff.per-file-ignores]
"{test,tests,examples}/**/*.py" = [
"examples/**/*.py" = [
"B",
"E402",
"E711",
Expand All @@ -100,3 +100,12 @@ line-length = 167
"S",
"UP",
]
"tests/**/*.py" = [
"F811",
"S101",
"S105",
"S106",
]
"tests/test_mqttv5.py" = [
"F841", # TODO: fix when fixing this test file
]
9 changes: 0 additions & 9 deletions test/Makefile

This file was deleted.

33 changes: 0 additions & 33 deletions test/lib/01-no-clean-session.py

This file was deleted.

53 changes: 0 additions & 53 deletions test/lib/01-reconnect-on-failure.py

This file was deleted.

35 changes: 0 additions & 35 deletions test/lib/01-unpwd-empty-password-set.py

This file was deleted.

35 changes: 0 additions & 35 deletions test/lib/01-unpwd-empty-set.py

This file was deleted.

35 changes: 0 additions & 35 deletions test/lib/01-unpwd-set.py

This file was deleted.

37 changes: 0 additions & 37 deletions test/lib/01-unpwd-unicode-set.py

This file was deleted.

37 changes: 0 additions & 37 deletions test/lib/01-will-unpwd-set.py

This file was deleted.

15 changes: 0 additions & 15 deletions test/lib/08-ssl-bad-cacert.py

This file was deleted.

31 changes: 0 additions & 31 deletions test/lib/08-ssl-fake-cacert.py

This file was deleted.

Loading
Loading