René's URL Explorer Experiment


Title: Refactor test structure by nejch · Pull Request #1024 · python-gitlab/python-gitlab · GitHub

Open Graph Title: Refactor test structure by nejch · Pull Request #1024 · python-gitlab/python-gitlab

X Title: Refactor test structure by nejch · Pull Request #1024 · python-gitlab/python-gitlab

Description: This PR: puts all tests into a common structure so that only utility scripts stay inside tools: ├── tests │   ├── functional │   │   ├── data │   └── unit │   ├── data │   ├── objects ├── tools Uses pytest as the test runner for unit tests (but keeps unittest Testcases for now)

Open Graph Description: This PR: puts all tests into a common structure so that only utility scripts stay inside tools: ├── tests │   ├── functional │   │   ├── data │   └── unit │   ├── data │   ├── objects ├──...

X Description: This PR: puts all tests into a common structure so that only utility scripts stay inside tools: ├── tests │   ├── functional │   │   ├── data │   └── unit │   ├── data │   ├── objects ├──...

Opengraph URL: https://github.com/python-gitlab/python-gitlab/pull/1024

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:c6b09c86-4e4d-2ecc-780f-fdb61b1c8e68
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB03E:307653:1CC665F:248B1F8:69757D95
html-safe-noncea590636ea1ee7e3025d46ec208e1b32d00062712ca9365b4c575f01290b2a26a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDNFOjMwNzY1MzoxQ0M2NjVGOjI0OEIxRjg6Njk3NTdEOTUiLCJ2aXNpdG9yX2lkIjoiNDU1MDMyMTM3NDMwNzM4NDcyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac94d79b84b65f9ede0801286591c66bb24a4d4200a17fc17bee06fc726910efcd
hovercard-subject-tagpull_request:377492353
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python-gitlab/python-gitlab/pull/1024/files
twitter:imagehttps://avatars.githubusercontent.com/u/16777978?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/16777978?s=400&v=4
og:image:altThis PR: puts all tests into a common structure so that only utility scripts stay inside tools: ├── tests │   ├── functional │   │   ├── data │   └── unit │   ├── data │   ├── objects ├──...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python-gitlab/python-gitlab git https://github.com/python-gitlab/python-gitlab.git
octolytics-dimension-user_id28886265
octolytics-dimension-user_loginpython-gitlab
octolytics-dimension-repository_id8077625
octolytics-dimension-repository_nwopython-gitlab/python-gitlab
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id8077625
octolytics-dimension-repository_network_root_nwopython-gitlab/python-gitlab
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release488b30e96dfd057fbbe44c6665ccbc030b729dde
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-gitlab/python-gitlab/pull/1024/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-gitlab%2Fpython-gitlab%2Fpull%2F1024%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-gitlab%2Fpython-gitlab%2Fpull%2F1024%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python-gitlab%2Fpython-gitlab
Reloadhttps://github.com/python-gitlab/python-gitlab/pull/1024/files
Reloadhttps://github.com/python-gitlab/python-gitlab/pull/1024/files
Reloadhttps://github.com/python-gitlab/python-gitlab/pull/1024/files
python-gitlab https://github.com/python-gitlab
python-gitlabhttps://github.com/python-gitlab/python-gitlab
Notifications https://github.com/login?return_to=%2Fpython-gitlab%2Fpython-gitlab
Fork 675 https://github.com/login?return_to=%2Fpython-gitlab%2Fpython-gitlab
Star 2.4k https://github.com/login?return_to=%2Fpython-gitlab%2Fpython-gitlab
Code https://github.com/python-gitlab/python-gitlab
Issues 26 https://github.com/python-gitlab/python-gitlab/issues
Pull requests 11 https://github.com/python-gitlab/python-gitlab/pulls
Discussions https://github.com/python-gitlab/python-gitlab/discussions
Actions https://github.com/python-gitlab/python-gitlab/actions
Projects 0 https://github.com/python-gitlab/python-gitlab/projects
Security 0 https://github.com/python-gitlab/python-gitlab/security
Insights https://github.com/python-gitlab/python-gitlab/pulse
Code https://github.com/python-gitlab/python-gitlab
Issues https://github.com/python-gitlab/python-gitlab/issues
Pull requests https://github.com/python-gitlab/python-gitlab/pulls
Discussions https://github.com/python-gitlab/python-gitlab/discussions
Actions https://github.com/python-gitlab/python-gitlab/actions
Projects https://github.com/python-gitlab/python-gitlab/projects
Security https://github.com/python-gitlab/python-gitlab/security
Insights https://github.com/python-gitlab/python-gitlab/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython-gitlab%2Fpython-gitlab%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython-gitlab%2Fpython-gitlab%2Fissues%2Fnew%2Fchoose
nejchhttps://github.com/nejch
python-gitlab:masterhttps://github.com/python-gitlab/python-gitlab/tree/master
Conversation 0 https://github.com/python-gitlab/python-gitlab/pull/1024
Commits 11 https://github.com/python-gitlab/python-gitlab/pull/1024/commits
Checks 0 https://github.com/python-gitlab/python-gitlab/pull/1024/checks
Files changed https://github.com/python-gitlab/python-gitlab/pull/1024/files
Please reload this pagehttps://github.com/python-gitlab/python-gitlab/pull/1024/files
Refactor test structure https://github.com/python-gitlab/python-gitlab/pull/1024/files#top
Show all changes 11 commits https://github.com/python-gitlab/python-gitlab/pull/1024/files
a4e5552 chore: use pytest for unit tests and coverage nejch Feb 23, 2020 https://github.com/python-gitlab/python-gitlab/pull/1024/commits/a4e555282531be964160e247fda8aaa080969b59
a65db0a ci: add coverage job to Travis nejch Feb 23, 2020 https://github.com/python-gitlab/python-gitlab/pull/1024/commits/a65db0a6c88ce15809ac199f99c435a6ce34561a
eaa1bd0 refactor: move unit tests into tests/unit nejch Feb 19, 2020 https://github.com/python-gitlab/python-gitlab/pull/1024/commits/eaa1bd086b2d930ea7d461a7caf524dbed6e7bb2
77f18da refactor: move functional tests into tests/functional nejch Feb 19, 2020 https://github.com/python-gitlab/python-gitlab/pull/1024/commits/77f18da14af0aeff763a9c33bfb6d701a05e1285
54f2907 chore: clean up paths and posargs order nejch Feb 28, 2020 https://github.com/python-gitlab/python-gitlab/pull/1024/commits/54f29071f45167becc7939f5d091583b310d6ca2
7fe0aeb chore: drop python2 references in testenv nejch Feb 28, 2020 https://github.com/python-gitlab/python-gitlab/pull/1024/commits/7fe0aeb6adb34262463126f39911c3e6abeeee0a
8d4d08d test: ensure pytest is in functional test env nejch Feb 28, 2020 https://github.com/python-gitlab/python-gitlab/pull/1024/commits/8d4d08da3c180a792fce14a5cca9227b94f4edc0
9870c96 test: wrap EE tests in a skipped pytest testcase nejch Feb 29, 2020 https://github.com/python-gitlab/python-gitlab/pull/1024/commits/9870c969309cd7623fb4c3601df84a9cb2ca4fcf
3d227ee fix: add missing import nejch Feb 29, 2020 https://github.com/python-gitlab/python-gitlab/pull/1024/commits/3d227eec8ec53ba2fa2be89486ca5847680c1810
216ba73 fix: ensure reset_gitlab works for teardown nejch Feb 29, 2020 https://github.com/python-gitlab/python-gitlab/pull/1024/commits/216ba735e8cfa08695c04491d00c9dd556f1ac5d
d501e5f test(func_v4): convert plain asserts to one large pytest testcase nejch Feb 29, 2020 https://github.com/python-gitlab/python-gitlab/pull/1024/commits/d501e5f63aa6b03bb83cacf46a5211de476a1271
Clear filters https://github.com/python-gitlab/python-gitlab/pull/1024/files
Please reload this pagehttps://github.com/python-gitlab/python-gitlab/pull/1024/files
Please reload this pagehttps://github.com/python-gitlab/python-gitlab/pull/1024/files
.gitignore https://github.com/python-gitlab/python-gitlab/pull/1024/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947
.testr.conf https://github.com/python-gitlab/python-gitlab/pull/1024/files#diff-2d068b155bdcf32bbe37cfaf5ba0ed3bf3c18f0c8dcb80017f3091f4218ad856
.travis.yml https://github.com/python-gitlab/python-gitlab/pull/1024/files#diff-6ac3f79fc25d95cd1e3d51da53a4b21b939437392578a35ae8cd6d5366ca5485
MANIFEST.in https://github.com/python-gitlab/python-gitlab/pull/1024/files#diff-41d5a52589e0480be9c099d2bba7a8135b8b0d71bcbb8df3582a8df1c2295003
test-requirements.txt https://github.com/python-gitlab/python-gitlab/pull/1024/files#diff-fac4c6890301d4de5c3f4266837803d5240c84a3d8b6c735bbc6a64c39d2f94e
avatar.png https://github.com/python-gitlab/python-gitlab/pull/1024/files#diff-743e3947841c518d9bb0da2dacd1296c1240fef64f6adc73bbdd1dde333895f2
test_api_v4.py https://github.com/python-gitlab/python-gitlab/pull/1024/files#diff-4bf0dc40155f3cccdf443660587d52faeb56914b1d6e5193847052a5c04e65f8
test_cli_v4.sh https://github.com/python-gitlab/python-gitlab/pull/1024/files#diff-1cda1a91d77803fb97d67a6d292d7438d39a4d52d5bcf06715880fbbe005f61a
test_ee.py https://github.com/python-gitlab/python-gitlab/pull/1024/files#diff-0f632684dcaa9c679ac29179ed2fcef8967de9c535b5d6cbef4cc4f80fc650d3
__init__.py https://github.com/python-gitlab/python-gitlab/pull/1024/files#diff-08242bd85148a76ce1460ee47228074ab306317cc6e75cfbe02b4a00863e5d33
todo.json https://github.com/python-gitlab/python-gitlab/pull/1024/files#diff-5e55ceb3e629dc7865271e9900851b8e34890a5b6c6d493b7a98ae2b2fda3350
__init__.py https://github.com/python-gitlab/python-gitlab/pull/1024/files#diff-a836f20446938e92da58e5c9d86bc16e0cb0b0a482f34ca4d93c955e59704cc0
test_application.py https://github.com/python-gitlab/python-gitlab/pull/1024/files#diff-fc42892a7c20668a98652b71708a9673ec36c3b84fd523778a172ac50452ec81
test_projects.py https://github.com/python-gitlab/python-gitlab/pull/1024/files#diff-e84ffbb57aae6c0765f257e13ae65e6522deac96c73b275f6450df2d9f2c5308
test_base.py https://github.com/python-gitlab/python-gitlab/pull/1024/files#diff-b0fbe87ec479d3dc4441cb864e6c4700ad4e295d79928fc1c978cc168431733a
test_cli.py https://github.com/python-gitlab/python-gitlab/pull/1024/files#diff-910473b6c2470739b209e36399cf9c87b9c7953c6813071ae3c3d2404b924553
test_config.py https://github.com/python-gitlab/python-gitlab/pull/1024/files#diff-217a439192bc495c66132a58a1bf7a92ee70f0eb9702c6b00f60644e726479b5
test_gitlab.py https://github.com/python-gitlab/python-gitlab/pull/1024/files#diff-3c0818cbe507fd3d13b34f2b754e2948247c92aca18c4b610a1a5e87ecc64ea3
test_mixins.py https://github.com/python-gitlab/python-gitlab/pull/1024/files#diff-034417e1e533b6bec2171774df32bbc1d6ce20d7a0df935fd967a9bb71b8db4f
test_types.py https://github.com/python-gitlab/python-gitlab/pull/1024/files#diff-18308cd34ffea992ea325d7d0c09eb78b27203def63c60dedbbcd8db8626cd7f
test_utils.py https://github.com/python-gitlab/python-gitlab/pull/1024/files#diff-a28b281ee0902c932527e269c585ac109bdd98aa5ceebe05ca97a10a5a432651
build_test_env.sh https://github.com/python-gitlab/python-gitlab/pull/1024/files#diff-ae6941d1148e6645c761fb8025ad5a22f051b1abedbb7a5edc6b85e934c1744d
ee-test.py https://github.com/python-gitlab/python-gitlab/pull/1024/files#diff-04fc271651e747cb59b0b2ab2fef90fc558e5ecc14066fdf239632afde18b6d0
functional_tests.sh https://github.com/python-gitlab/python-gitlab/pull/1024/files#diff-22f0115c3801aa604053f0aff5f56985c11ef9cb53df114ac43842990b4ec21b
py_functional_tests.sh https://github.com/python-gitlab/python-gitlab/pull/1024/files#diff-1fb50a05ff0b6dfc2b1b9a5ece81ee05be7a9fa0938e92d27664e08b7ffa9ed8
python_test_v4.py https://github.com/python-gitlab/python-gitlab/pull/1024/files#diff-cd7e6d3432d60daf4d26a21132c67a2c358dd20c860ccbbf987509f3b49e29be
reset_gitlab.py https://github.com/python-gitlab/python-gitlab/pull/1024/files#diff-a648765ab2ce577fa81763e7fc2418d2f9cc3e9e0061198f16f7ce9a81cc18cf
tox.ini https://github.com/python-gitlab/python-gitlab/pull/1024/files#diff-ef2cef9f88b4fe09ca3082140e67f5ad34fb65fb6e228f119d3812261ae51449
.gitignorehttps://github.com/python-gitlab/python-gitlab/pull/1024/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947
View file https://github.com/python-gitlab/python-gitlab/blob/d501e5f63aa6b03bb83cacf46a5211de476a1271/.gitignore
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-gitlab/python-gitlab/pull/1024/{{ revealButtonHref }}
.testr.confhttps://github.com/python-gitlab/python-gitlab/pull/1024/files#diff-2d068b155bdcf32bbe37cfaf5ba0ed3bf3c18f0c8dcb80017f3091f4218ad856
View file https://github.com/python-gitlab/python-gitlab/blob/e5afb554bf4bcc28555bde4030f50558f175a53b/.testr.conf
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/python-gitlab/python-gitlab/pull/1024/files
.travis.ymlhttps://github.com/python-gitlab/python-gitlab/pull/1024/files#diff-6ac3f79fc25d95cd1e3d51da53a4b21b939437392578a35ae8cd6d5366ca5485
View file https://github.com/python-gitlab/python-gitlab/blob/d501e5f63aa6b03bb83cacf46a5211de476a1271/.travis.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-gitlab/python-gitlab/pull/1024/{{ revealButtonHref }}
https://github.com/python-gitlab/python-gitlab/pull/1024/files#diff-6ac3f79fc25d95cd1e3d51da53a4b21b939437392578a35ae8cd6d5366ca5485
MANIFEST.inhttps://github.com/python-gitlab/python-gitlab/pull/1024/files#diff-41d5a52589e0480be9c099d2bba7a8135b8b0d71bcbb8df3582a8df1c2295003
View file https://github.com/python-gitlab/python-gitlab/blob/d501e5f63aa6b03bb83cacf46a5211de476a1271/MANIFEST.in
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-gitlab/python-gitlab/pull/1024/{{ revealButtonHref }}
test-requirements.txthttps://github.com/python-gitlab/python-gitlab/pull/1024/files#diff-fac4c6890301d4de5c3f4266837803d5240c84a3d8b6c735bbc6a64c39d2f94e
View file https://github.com/python-gitlab/python-gitlab/blob/d501e5f63aa6b03bb83cacf46a5211de476a1271/test-requirements.txt
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-gitlab/python-gitlab/pull/1024/{{ revealButtonHref }}
tools/avatar.png → tests/functional/data/avatar.pnghttps://github.com/python-gitlab/python-gitlab/pull/1024/files#diff-743e3947841c518d9bb0da2dacd1296c1240fef64f6adc73bbdd1dde333895f2
View file https://github.com/python-gitlab/python-gitlab/blob/d501e5f63aa6b03bb83cacf46a5211de476a1271/tests/functional/data/avatar.png
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/python-gitlab/python-gitlab/pull/1024/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.