Title: _direct.py needs more test coverage · Issue #58 · IBM/python-itoolkit · GitHub
Open Graph Title: _direct.py needs more test coverage · Issue #58 · IBM/python-itoolkit
X Title: _direct.py needs more test coverage · Issue #58 · IBM/python-itoolkit
Description: Currently _direct.py has 8% test coverage as we completely bypass this module when testing direct.py. We'll need to mock ctypes a bit to make it work, but it shouldn't be too bad.
Open Graph Description: Currently _direct.py has 8% test coverage as we completely bypass this module when testing direct.py. We'll need to mock ctypes a bit to make it work, but it shouldn't be too bad.
X Description: Currently _direct.py has 8% test coverage as we completely bypass this module when testing direct.py. We'll need to mock ctypes a bit to make it work, but it shouldn't be too bad.
Opengraph URL: https://github.com/IBM/python-itoolkit/issues/58
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"_direct.py needs more test coverage","articleBody":"Currently _direct.py has [8%](https://codecov.io/gh/IBM/python-itoolkit/src/master/src/itoolkit/transport/_direct.py) test coverage as we completely bypass this module when testing direct.py.\r\n\r\nWe'll need to mock ctypes a bit to make it work, but it shouldn't be too bad.","author":{"url":"https://github.com/kadler","@type":"Person","name":"kadler"},"datePublished":"2020-05-21T05:30:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/58/python-itoolkit/issues/58"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7332c794-cd51-b188-bb2e-d192a1ef14fc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C9CE:739F8:1FDCD5A:2B82868:698DBED8 |
| html-safe-nonce | 25be4181c18bc4a270ecad5dd21b77ddc5220303c9545faa124365af384a3270 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOUNFOjczOUY4OjFGRENENUE6MkI4Mjg2ODo2OThEQkVEOCIsInZpc2l0b3JfaWQiOiI3MjA0MjU1MjgyMjQ2ODI3NzM2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8e14731efac0b77f8b4edf0535b516951535d78fbed1e486f9cc9d4ffdf5fd1a |
| hovercard-subject-tag | issue:622258399 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IBM/python-itoolkit/58/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8b06ba274d549dd15292f915c58e42a7caccaedf8238f124d59991f7e5be6f79/IBM/python-itoolkit/issues/58 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8b06ba274d549dd15292f915c58e42a7caccaedf8238f124d59991f7e5be6f79/IBM/python-itoolkit/issues/58 |
| og:image:alt | Currently _direct.py has 8% test coverage as we completely bypass this module when testing direct.py. We'll need to mock ctypes a bit to make it work, but it shouldn't be too bad. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kadler |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2457fd9a1b17ca7f38c3c2653895ccb2e0dd04f18f77446a21354e9bc4b7902f |
| turbo-cache-control | no-preview |
| go-import | github.com/IBM/python-itoolkit git https://github.com/IBM/python-itoolkit.git |
| octolytics-dimension-user_id | 1459110 |
| octolytics-dimension-user_login | IBM |
| octolytics-dimension-repository_id | 162735026 |
| octolytics-dimension-repository_nwo | IBM/python-itoolkit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 162735026 |
| octolytics-dimension-repository_network_root_nwo | IBM/python-itoolkit |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 878672b82363fd98fbdc5bd0edb68e572c8a8d9b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width