Download test_dashboard_workers.py from MarxistLeninist/dbmoe: direct link, hf CLI and curl.
- Browser
- Download file 403 Bytes
-
https://huggingface.co/MarxistLeninist/dbmoe/resolve/main/test_dashboard_workers.py
- Command line
-
hf download hf://MarxistLeninist/dbmoe/test_dashboard_workers.py
-
curl -L -o test_dashboard_workers.py https://huggingface.co/MarxistLeninist/dbmoe/resolve/main/test_dashboard_workers.py
403 Bytes
| """Exercise the actual dashboard renderer with a small DOM test double.""" | |
| import pathlib,shutil,subprocess,unittest | |
| class DashboardWorkers(unittest.TestCase): | |
| def test_inference_only_and_mixed_contributors(self): | |
| subprocess.run(['node',str(pathlib.Path(__file__).with_suffix('.js'))],check=True,timeout=15) | |