Skip to content

Commit

Permalink
Merge pull request #780 from akx/convert-strange-tests
Browse files Browse the repository at this point in the history
Convert homespun tests to conventional tests
  • Loading branch information
PierreF authored Dec 24, 2023
2 parents d1b5774 + 2413572 commit 805cb7e
Show file tree
Hide file tree
Showing 143 changed files with 1,157 additions and 1,880 deletions.
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

0 comments on commit 805cb7e

Please sign in to comment.