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

Function test_detect_python_tech_stack_requirements

src/repository.rs:173–183  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

171
172 #[tokio::test]
173 async fn test_detect_python_tech_stack_requirements() {
174 let temp_dir = TempDir::new().unwrap();
175
176 // Create requirements.txt file
177 tokio::fs::write(temp_dir.path().join("requirements.txt"), "")
178 .await
179 .unwrap();
180
181 let result = detect_stack(temp_dir.path()).await.unwrap();
182 assert_eq!(result, "python");
183 }
184
185 #[tokio::test]
186 async fn test_detect_node_tech_stack() {

Callers

nothing calls this directly

Calls 2

detect_stackFunction · 0.85
pathMethod · 0.80

Tested by

no test coverage detected