Title: All unit tests are no-ops · Issue #7 · ClickSend/clicksend-python · GitHub
Open Graph Title: All unit tests are no-ops · Issue #7 · ClickSend/clicksend-python
X Title: All unit tests are no-ops · Issue #7 · ClickSend/clicksend-python
Description: The test directory https://github.com/ClickSend/clicksend-python/tree/master/test does contains a number of automatically generated tests (by clicksend-codegen it seems). However, none of the tests actually do anything. For example: clas...
Open Graph Description: The test directory https://github.com/ClickSend/clicksend-python/tree/master/test does contains a number of automatically generated tests (by clicksend-codegen it seems). However, none of the tests...
X Description: The test directory https://github.com/ClickSend/clicksend-python/tree/master/test does contains a number of automatically generated tests (by clicksend-codegen it seems). However, none of the tests...
Opengraph URL: https://github.com/ClickSend/clicksend-python/issues/7
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"All unit tests are no-ops","articleBody":"The test directory https://github.com/ClickSend/clicksend-python/tree/master/test does contains a number of automatically generated tests (by [clicksend-codegen](https://github.com/clicksend-api/clicksend-codegen.git) it seems). However, none of the tests actually do anything. For example:\r\n```python\r\nclass TestAccount(unittest.TestCase):\r\n \"\"\"Account unit test stubs\"\"\"\r\n\r\n def setUp(self):\r\n pass\r\n\r\n def tearDown(self):\r\n pass\r\n\r\n def testAccount(self):\r\n \"\"\"Test Account\"\"\"\r\n # FIXME: construct object with mandatory attributes with example values\r\n # model = clicksend_client.models.account.Account() # noqa: E501\r\n pass\r\n```\r\nThe only part that might do something is commented out. Technically, it does pass, (litterally, in this case), so Travis CI probably thinks it's fine. Most of the tests follow a similar pattern - some of them perform a setup step or so, but they don't do anything else. \r\n\r\nI'm guessing, then, that this library is entirely untested? If this is the case, I wouldn't consider using this in a production app. ","author":{"url":"https://github.com/naxxfish","@type":"Person","name":"naxxfish"},"datePublished":"2020-12-08T22:36:24Z","url":"https://github.com/ClickSend/clicksend-python/issues/7"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:e33e9887-bb0b-9a01-96aa-ab60684cb0c8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BCD2:29272F:CD4CF0:115D598:6B048B25 |
| html-safe-nonce | 12289e51b01de69517a66ff75061699170bf46cd24e844cfbd2a9c12eb8fae33 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQ0QyOjI5MjcyRjpDRDRDRjA6MTE1RDU5ODo2QjA0OEIyNSIsInZpc2l0b3JfaWQiOiI4MTg0Nzg2NTAxOTQ3OTE5MTQxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b1db511d279730b1c32cb86279d7ba9338949a0619f40621b7bcfbacb30f99bc |
| hovercard-subject-tag | issue:759837647 |
| 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/ClickSend/clicksend-python/7/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a5dd3b67363bba2fd4741ef605b613c660a652f73d4691c18e34765ec4116e6e/ClickSend/clicksend-python/issues/7 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a5dd3b67363bba2fd4741ef605b613c660a652f73d4691c18e34765ec4116e6e/ClickSend/clicksend-python/issues/7 |
| og:image:alt | The test directory https://github.com/ClickSend/clicksend-python/tree/master/test does contains a number of automatically generated tests (by clicksend-codegen it seems). However, none of the tests... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | naxxfish |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1d5c152376e38b7d2e37f3d5179be29a73bee93b85110da28a4eebe1159cdc70 |
| turbo-cache-control | no-preview |
| go-import | github.com/ClickSend/clicksend-python git https://github.com/ClickSend/clicksend-python.git |
| octolytics-dimension-user_id | 15273660 |
| octolytics-dimension-user_login | ClickSend |
| octolytics-dimension-repository_id | 144966837 |
| octolytics-dimension-repository_nwo | ClickSend/clicksend-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 144966837 |
| octolytics-dimension-repository_network_root_nwo | ClickSend/clicksend-python |
| 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 | f5017e8ff4ea25a8011fcf0f2a0e430c60dc86c8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width