René's URL Explorer Experiment


Title: refactor(tests): split functional tests by nejch · Pull Request #1205 · python-gitlab/python-gitlab · GitHub

Open Graph Title: refactor(tests): split functional tests by nejch · Pull Request #1205 · python-gitlab/python-gitlab

X Title: refactor(tests): split functional tests by nejch · Pull Request #1205 · python-gitlab/python-gitlab

Description: Glorious copy/paste time! This just splits functional tests in the hope we get more control over weird timing failures. No attempts yet to add fixture factories which would be very useful here :P But for now, this provides a wait_for_sidekiq helper that should hopefully make it easier to solve if there are still issues. This will be a pain to review, I wish GitHub/GitLab had code move detection like Review Board :( But the file sizes should be more reasonable now: $ ls tools/functional/api/*.py | xargs wc -l | sort -h 12 tools/functional/api/test_deploy_keys.py 13 tools/functional/api/test_packages.py 36 tools/functional/api/test_deploy_tokens.py 42 tools/functional/api/test_current_user.py 46 tools/functional/api/test_clusters.py 48 tools/functional/api/test_variables.py 61 tools/functional/api/test_import_export.py 74 tools/functional/api/test_snippets.py 89 tools/functional/api/test_issues.py 96 tools/functional/api/test_merge_requests.py 126 tools/functional/api/test_repository.py 170 tools/functional/api/test_users.py 183 tools/functional/api/test_gitlab.py 190 tools/functional/api/test_groups.py 298 tools/functional/api/test_projects.py Closes #1113, #1105, #1065, hopefully closes #1033. Also I realized when doing this that anything to do with group creation/deletion is really slow so maybe it'll help with #1194.

Open Graph Description: Glorious copy/paste time! This just splits functional tests in the hope we get more control over weird timing failures. No attempts yet to add fixture factories which would be very useful here :P B...

X Description: Glorious copy/paste time! This just splits functional tests in the hope we get more control over weird timing failures. No attempts yet to add fixture factories which would be very useful here :P B...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:e772097d-0ef7-5da3-9977-3de72fe98dac
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9BF2:2F9F8B:B38653A:E970396:69768954
html-safe-nonce5ebc100f6eb61805bf09d93cb7a1e86a0ee783edc015fe1aa356a6771bb40b45
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QkYyOjJGOUY4QjpCMzg2NTNBOkU5NzAzOTY6Njk3Njg5NTQiLCJ2aXNpdG9yX2lkIjoiMjYzNTAyNzY2OTgyODY2NzczMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac5a7da7cd3752c8a9c710314d5c1fbe2ac89bbdbb19e1a728a50e4d5f66a5488d
hovercard-subject-tagpull_request:499581711
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/1205/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:altGlorious copy/paste time! This just splits functional tests in the hope we get more control over weird timing failures. No attempts yet to add fixture factories which would be very useful here :P B...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None032152924a283b83384255d9489e7b93b54ba01da8d380b05ecd3953b3212411
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
release5b577f6be6482e336e3c30e8daefa30144947b17
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-gitlab/python-gitlab/pull/1205/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%2F1205%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%2F1205%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/1205/files
Reloadhttps://github.com/python-gitlab/python-gitlab/pull/1205/files
Reloadhttps://github.com/python-gitlab/python-gitlab/pull/1205/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
max-wittighttps://github.com/max-wittig
masterhttps://github.com/python-gitlab/python-gitlab/tree/master
refactor/split-functional-testshttps://github.com/python-gitlab/python-gitlab/tree/refactor/split-functional-tests
Conversation 15 https://github.com/python-gitlab/python-gitlab/pull/1205
Commits 2 https://github.com/python-gitlab/python-gitlab/pull/1205/commits
Checks 0 https://github.com/python-gitlab/python-gitlab/pull/1205/checks
Files changed https://github.com/python-gitlab/python-gitlab/pull/1205/files
Please reload this pagehttps://github.com/python-gitlab/python-gitlab/pull/1205/files
refactor(tests): split functional tests https://github.com/python-gitlab/python-gitlab/pull/1205/files#top
Show all changes 2 commits https://github.com/python-gitlab/python-gitlab/pull/1205/files
61e43eb refactor(tests): split functional tests nejch Oct 7, 2020 https://github.com/python-gitlab/python-gitlab/pull/1205/commits/61e43eb186925feede073c7065e5ae868ffbb4ec
65ce026 chore: apply suggestions nejch Oct 8, 2020 https://github.com/python-gitlab/python-gitlab/pull/1205/commits/65ce02675d9c9580860df91b41c3cf5e6bb8d318
Clear filters https://github.com/python-gitlab/python-gitlab/pull/1205/files
Please reload this pagehttps://github.com/python-gitlab/python-gitlab/pull/1205/files
Please reload this pagehttps://github.com/python-gitlab/python-gitlab/pull/1205/files
test_clusters.py https://github.com/python-gitlab/python-gitlab/pull/1205/files#diff-1c63c1a1b432dc16417c0a2756a5f6427f186bac309d2b63e2b1e33febcbb903
test_current_user.py https://github.com/python-gitlab/python-gitlab/pull/1205/files#diff-a5c9f34973a1769f75d877e09caf1f185a8786d70708bc2a039d9970eecc5489
test_deploy_keys.py https://github.com/python-gitlab/python-gitlab/pull/1205/files#diff-377765af65f799fdbcbcd0274ff316a9ddbe4a623a0f64e643a071e833402008
test_deploy_tokens.py https://github.com/python-gitlab/python-gitlab/pull/1205/files#diff-1bc432653a9bb285d389847c60743de1b8ec82c92086e4d72f5fd5fdec1e917f
test_gitlab.py https://github.com/python-gitlab/python-gitlab/pull/1205/files#diff-2c1c481ecf65b695cf46694548c29863b2558b0e74a2b2a12026988adbcb03d2
test_groups.py https://github.com/python-gitlab/python-gitlab/pull/1205/files#diff-4de4346104a3ce74a5014c2c22f4b907d61f82c8e247e19fdf8080d989c22346
test_import_export.py https://github.com/python-gitlab/python-gitlab/pull/1205/files#diff-008c8eee90f04a872506fb0b78df4aee661f8c7c883fc24ab238c59f058eaf39
test_issues.py https://github.com/python-gitlab/python-gitlab/pull/1205/files#diff-f87ab456927a3aac845a370ee604d307e537cd8f86c5229d15cba94282902b82
test_merge_requests.py https://github.com/python-gitlab/python-gitlab/pull/1205/files#diff-0e3bda63e9090d4868129554c888efafc281aaf197915cd1b799326cccc08726
test_projects.py https://github.com/python-gitlab/python-gitlab/pull/1205/files#diff-4274111af3356c4454698b9421cf6d98c79e931fb885e73280f6249a5a7ecc2c
test_repository.py https://github.com/python-gitlab/python-gitlab/pull/1205/files#diff-ca8d8948b3a24a27cce61261284a34ea9562287d977b86e49adb90e45009d46f
test_snippets.py https://github.com/python-gitlab/python-gitlab/pull/1205/files#diff-321dcbf8f66b2eed55c720045fb9b356e15e1693c64689256c8768ee15e20eca
test_users.py https://github.com/python-gitlab/python-gitlab/pull/1205/files#diff-1c5c51c85184064930cb1d35134f43dbcce0058bd0aa5c57b26bca72439e0a0d
conftest.py https://github.com/python-gitlab/python-gitlab/pull/1205/files#diff-16ff3a342b7269fc6c51405fa156bae02ccc3c5df46fb6e473a36a6785156e59
python_test_v4.py https://github.com/python-gitlab/python-gitlab/pull/1205/files#diff-8ebdc92e539e946d91d18df0851c9bd9a125f95df781257d98772aa6060a87d5
tools/functional/api/test_clusters.pyhttps://github.com/python-gitlab/python-gitlab/pull/1205/files#diff-1c63c1a1b432dc16417c0a2756a5f6427f186bac309d2b63e2b1e33febcbb903
View file https://github.com/python-gitlab/python-gitlab/blob/65ce02675d9c9580860df91b41c3cf5e6bb8d318/tools/functional/api/test_clusters.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-gitlab/python-gitlab/pull/1205/{{ revealButtonHref }}
tools/functional/api/test_current_user.pyhttps://github.com/python-gitlab/python-gitlab/pull/1205/files#diff-a5c9f34973a1769f75d877e09caf1f185a8786d70708bc2a039d9970eecc5489
View file https://github.com/python-gitlab/python-gitlab/blob/65ce02675d9c9580860df91b41c3cf5e6bb8d318/tools/functional/api/test_current_user.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-gitlab/python-gitlab/pull/1205/{{ revealButtonHref }}
tools/functional/api/test_deploy_keys.pyhttps://github.com/python-gitlab/python-gitlab/pull/1205/files#diff-377765af65f799fdbcbcd0274ff316a9ddbe4a623a0f64e643a071e833402008
View file https://github.com/python-gitlab/python-gitlab/blob/65ce02675d9c9580860df91b41c3cf5e6bb8d318/tools/functional/api/test_deploy_keys.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-gitlab/python-gitlab/pull/1205/{{ revealButtonHref }}
tools/functional/api/test_deploy_tokens.pyhttps://github.com/python-gitlab/python-gitlab/pull/1205/files#diff-1bc432653a9bb285d389847c60743de1b8ec82c92086e4d72f5fd5fdec1e917f
View file https://github.com/python-gitlab/python-gitlab/blob/65ce02675d9c9580860df91b41c3cf5e6bb8d318/tools/functional/api/test_deploy_tokens.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-gitlab/python-gitlab/pull/1205/{{ revealButtonHref }}
tools/functional/api/test_gitlab.pyhttps://github.com/python-gitlab/python-gitlab/pull/1205/files#diff-2c1c481ecf65b695cf46694548c29863b2558b0e74a2b2a12026988adbcb03d2
View file https://github.com/python-gitlab/python-gitlab/blob/65ce02675d9c9580860df91b41c3cf5e6bb8d318/tools/functional/api/test_gitlab.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-gitlab/python-gitlab/pull/1205/{{ revealButtonHref }}
Please reload this pagehttps://github.com/python-gitlab/python-gitlab/pull/1205/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.