Skip to content

Commit 70862e4

Browse files
committed
Don't imply tests can be run directly without pytest
1 parent 9a89c11 commit 70862e4

File tree

3 files changed

+0
-13
lines changed

3 files changed

+0
-13
lines changed

tests/database_test.py

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
#!/usr/bin/env python
2-
3-
41
import ipaddress
52
import re
63
import unittest

tests/models_test.py

-4
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,3 @@ def test_german(self) -> None:
377377
assert (
378378
model.continent.name == "Nordamerika"
379379
), "Correct german name for continent"
380-
381-
382-
if __name__ == "__main__":
383-
unittest.main()

tests/webservice_test.py

-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
31
import asyncio
42
import copy
53
import ipaddress
@@ -357,7 +355,3 @@ def run_client(self, v):
357355

358356

359357
del TestBaseClient
360-
361-
362-
if __name__ == "__main__":
363-
unittest.main()

0 commit comments

Comments
 (0)