]> skyeroc.xyz Git - obs-ctl/commitdiff
Add widget_testbed to fix import on other computer
authorsbkelley <sb24kelley@gmail.com>
Wed, 3 Dec 2025 20:30:12 +0000 (15:30 -0500)
committersbkelley <sb24kelley@gmail.com>
Wed, 3 Dec 2025 20:30:12 +0000 (15:30 -0500)
src/obs_ctl/widget_testbed.py [new file with mode: 0644]

diff --git a/src/obs_ctl/widget_testbed.py b/src/obs_ctl/widget_testbed.py
new file mode 100644 (file)
index 0000000..5a0bd94
--- /dev/null
@@ -0,0 +1,10 @@
+import importlib.resources
+from textual.app import App
+from textual.widgets import Header, Footer
+from . import data
+from .interface.molecule import StatsDisplay
+
+class TestApp(App):
+    CSS_PATH = importlib.resources.files(data).joinpath("layout.tcss")
+    def compose(self):
+        yield StatsDisplay()
\ No newline at end of file