We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1502de0 commit e68a174Copy full SHA for e68a174
tests/test_packaging.py
@@ -0,0 +1,15 @@
1
+import sys
2
+from pathlib import Path
3
+
4
5
+def test_fd_endpoint_plugin_installed():
6
+ # Find the site-packages directory
7
+ for path in sys.path:
8
+ if 'site-packages' in path:
9
+ site_packages = Path(path)
10
+ break
11
+ else:
12
+ raise AssertionError("Could not find site-packages in sys.path")
13
14
+ plugin_path = site_packages / 'twisted' / 'plugins' / 'fd_endpoint.py'
15
+ assert plugin_path.exists(), f"fd_endpoint.py not found at {plugin_path}"
0 commit comments