Title: Failing to execute pytest or other binary commands with gflags · Issue #43 · google/python-gflags · GitHub
Open Graph Title: Failing to execute pytest or other binary commands with gflags · Issue #43 · google/python-gflags
X Title: Failing to execute pytest or other binary commands with gflags · Issue #43 · google/python-gflags
Description: Hi there, I'm using gflags for accepting command line arguments in one of the script recently added in application. There are unit testcases in the application that I execute using pytest library. Unit test execution was working fine til...
Open Graph Description: Hi there, I'm using gflags for accepting command line arguments in one of the script recently added in application. There are unit testcases in the application that I execute using pytest library. ...
X Description: Hi there, I'm using gflags for accepting command line arguments in one of the script recently added in application. There are unit testcases in the application that I execute using pytest libra...
Opengraph URL: https://github.com/google/python-gflags/issues/43
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Failing to execute pytest or other binary commands with gflags","articleBody":"Hi there,\r\n\r\nI'm using gflags for accepting command line arguments in one of the script recently added in application. There are unit testcases in the application that I execute using pytest library. Unit test execution was working fine till the time GFLAGS library was not sys path. After adding gflags, the command line arguments provided to pytest or py.test or any other command in interpreted/interrupted by the GFlags and it ultimately throw back the following error.\r\n\r\npython_gflags-2.0-py2.6.egg/gflags.py:1319: in call\r\nraise UnrecognizedFlagError(opt, value)\r\nE UnrecognizedFlagError: Unknown command line flag 'cov-config'\r\n\r\n---------- coverage: platform linux2, python 2.7.5-final-0 -----------\r\n\r\nCommand I'm executing is mentioned below. Is there any way to disable/force gflags to ignore such commands?\r\npy.test --cov-config .coveragerc --cov-report html --cov=.\r\n","author":{"url":"https://github.com/girishsv1986","@type":"Person","name":"girishsv1986"},"datePublished":"2019-02-01T12:47:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/43/python-gflags/issues/43"}
| 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:94bab5c1-e123-ada0-9057-b97b3baa79c0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DBCC:7E6BE:661F099:841DF3E:69756859 |
| html-safe-nonce | 5cd15102aa49ded6081304b7054dfa964f593f2c5e0e312ca893cb5d968ec60e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQkNDOjdFNkJFOjY2MUYwOTk6ODQxREYzRTo2OTc1Njg1OSIsInZpc2l0b3JfaWQiOiI1NDkyMzA0NDU1MDQ4NDU2MjgxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b0dbebce97a9b0dfce8bb74ed0658d9abe94c4088f1953257353893e483deda8 |
| hovercard-subject-tag | issue:405687647 |
| 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/google/python-gflags/43/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0e8d764d84a2b1922bd543d9c0de17877d70510626c5ed8746bc25a01f577f7c/google/python-gflags/issues/43 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0e8d764d84a2b1922bd543d9c0de17877d70510626c5ed8746bc25a01f577f7c/google/python-gflags/issues/43 |
| og:image:alt | Hi there, I'm using gflags for accepting command line arguments in one of the script recently added in application. There are unit testcases in the application that I execute using pytest library. ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | girishsv1986 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-preview |
| go-import | github.com/google/python-gflags git https://github.com/google/python-gflags.git |
| octolytics-dimension-user_id | 1342004 |
| octolytics-dimension-user_login | |
| octolytics-dimension-repository_id | 32136511 |
| octolytics-dimension-repository_nwo | google/python-gflags |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 32136511 |
| octolytics-dimension-repository_network_root_nwo | google/python-gflags |
| 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 | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width