MCPcopy Create free account
hub / github.com/dtormoen/tsk-tsk / test_detect_python_tech_stack

Function test_detect_python_tech_stack

src/repository.rs:160–170  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

158
159 #[tokio::test]
160 async fn test_detect_python_tech_stack() {
161 let temp_dir = TempDir::new().unwrap();
162
163 // Create pyproject.toml file
164 tokio::fs::write(temp_dir.path().join("pyproject.toml"), "")
165 .await
166 .unwrap();
167
168 let result = detect_stack(temp_dir.path()).await.unwrap();
169 assert_eq!(result, "python");
170 }
171
172 #[tokio::test]
173 async fn test_detect_python_tech_stack_requirements() {

Callers

nothing calls this directly

Calls 2

detect_stackFunction · 0.85
pathMethod · 0.80

Tested by

no test coverage detected