Skip to content

Commit 805cb7e

Browse files
authored
Merge pull request #780 from akx/convert-strange-tests
Convert homespun tests to conventional tests
2 parents d1b5774 + 2413572 commit 805cb7e

File tree

143 files changed

+1157
-1880
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

143 files changed

+1157
-1880
lines changed

.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ nosetests.xml
4545
coverage.xml
4646
*,cover
4747
.hypothesis/
48-
test/ssl/demoCA
49-
test/ssl/rootCA
50-
test/ssl/signingCA
48+
tests/ssl/demoCA
49+
tests/ssl/rootCA
50+
tests/ssl/signingCA
5151
*.csr
5252

5353
# Translations

conftest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# This file ensures pytest keeps this directory in sys.path,
2+
# so you can run `pytest tests/lib`.

pyproject.toml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ ignore = []
8888
line-length = 167
8989

9090
[tool.ruff.per-file-ignores]
91-
"{test,tests,examples}/**/*.py" = [
91+
"examples/**/*.py" = [
9292
"B",
9393
"E402",
9494
"E711",
@@ -100,3 +100,12 @@ line-length = 167
100100
"S",
101101
"UP",
102102
]
103+
"tests/**/*.py" = [
104+
"F811",
105+
"S101",
106+
"S105",
107+
"S106",
108+
]
109+
"tests/test_mqttv5.py" = [
110+
"F841", # TODO: fix when fixing this test file
111+
]

test/Makefile

Lines changed: 0 additions & 9 deletions
This file was deleted.

test/lib/01-no-clean-session.py

Lines changed: 0 additions & 33 deletions
This file was deleted.

test/lib/01-reconnect-on-failure.py

Lines changed: 0 additions & 53 deletions
This file was deleted.

test/lib/01-unpwd-empty-password-set.py

Lines changed: 0 additions & 35 deletions
This file was deleted.

test/lib/01-unpwd-empty-set.py

Lines changed: 0 additions & 35 deletions
This file was deleted.

test/lib/01-unpwd-set.py

Lines changed: 0 additions & 35 deletions
This file was deleted.

test/lib/01-unpwd-unicode-set.py

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)