@@ -341,34 +341,34 @@ impl From<IssueValidData> for Datacap {
341
341
}
342
342
}
343
343
344
- #[ cfg( test) ]
345
- mod tests {
346
- use crate :: external_services:: github:: github_async_new;
344
+ // #[cfg(test)]
345
+ // mod tests {
346
+ // use crate::external_services::github::github_async_new;
347
347
348
- static OWNER : & str = "filecoin-project" ;
349
- static REPO : & str = "filplus-tooling-backend-test" ;
348
+ // static OWNER: &str = "filecoin-project";
349
+ // static REPO: &str = "filplus-tooling-backend-test";
350
350
351
- #[ tokio:: test]
352
- async fn test_parser ( ) {
353
- let gh = github_async_new ( OWNER . to_string ( ) , REPO . to_string ( ) ) . await ;
354
- let issue = gh. list_issue ( 706 ) . await . unwrap ( ) ;
355
- let parsed_ldn = super :: ParsedIssue :: from_issue_body ( & issue. body . unwrap ( ) ) ;
356
- dbg ! ( & parsed_ldn) ;
351
+ // #[tokio::test]
352
+ // async fn test_parser() {
353
+ // let gh = github_async_new(OWNER.to_string(), REPO.to_string()).await;
354
+ // let issue = gh.list_issue(706).await.unwrap();
355
+ // let parsed_ldn = super::ParsedIssue::from_issue_body(&issue.body.unwrap());
356
+ // dbg!(&parsed_ldn);
357
357
358
- assert_eq ! ( parsed_ldn. version, 1 ) ;
359
- assert ! ( !parsed_ldn. id. is_empty( ) ) ;
358
+ // assert_eq!(parsed_ldn.version, 1);
359
+ // assert!(!parsed_ldn.id.is_empty());
360
360
361
- assert ! ( !parsed_ldn. client. name. is_empty( ) ) ;
362
- assert ! ( !parsed_ldn. client. industry. is_empty( ) ) ;
363
- assert ! ( !parsed_ldn. client. region. is_empty( ) ) ;
364
- assert ! ( !parsed_ldn. client. website. is_empty( ) ) ;
365
- assert ! ( !parsed_ldn. client. social_media. is_empty( ) ) ;
366
- assert ! ( !parsed_ldn. client. social_media_type. is_empty( ) ) ;
367
- assert ! ( !parsed_ldn. client. role. is_empty( ) ) ;
368
- assert ! ( !parsed_ldn. project. project_id. is_empty( ) ) ;
369
- assert ! ( !parsed_ldn. project. history. is_empty( ) ) ;
370
- assert ! ( !parsed_ldn. project. associated_projects. is_empty( ) ) ;
361
+ // assert!(!parsed_ldn.client.name.is_empty());
362
+ // assert!(!parsed_ldn.client.industry.is_empty());
363
+ // assert!(!parsed_ldn.client.region.is_empty());
364
+ // assert!(!parsed_ldn.client.website.is_empty());
365
+ // assert!(!parsed_ldn.client.social_media.is_empty());
366
+ // assert!(!parsed_ldn.client.social_media_type.is_empty());
367
+ // assert!(!parsed_ldn.client.role.is_empty());
368
+ // assert!(!parsed_ldn.project.project_id.is_empty());
369
+ // assert!(!parsed_ldn.project.history.is_empty());
370
+ // assert!(!parsed_ldn.project.associated_projects.is_empty());
371
371
372
- assert ! ( !parsed_ldn. datacap. total_requested_amount. is_empty( ) ) ;
373
- }
374
- }
372
+ // assert!(!parsed_ldn.datacap.total_requested_amount.is_empty());
373
+ // }
374
+ // }
0 commit comments