Commit 5b7d00d
committed
test(functional): fix GitLab configuration to support pagination
When pagination occurs python-gitlab uses the URL provided by the
GitLab server to use for the next request.
We had previously set the GitLab server configuraiton to say its URL
was `http://gitlab.test` which is not in DNS. Set the hostname
in the URL to `http://127.0.0.1:8080` which is the correct URL for the
GitLab server to be accessed while doing functional tests.
Closes: #18771 parent 5e19694 commit 5b7d00dCopy full SHA for 5b7d00d
File tree
Expand file treeCollapse file tree
3 files changed
+4
-4
lines changedOpen diff view settings
Filter options
- tests/functional
- api
- fixtures
Expand file treeCollapse file tree
3 files changed
+4
-4
lines changedOpen diff view settings
Collapse file
tests/functional/api/test_gitlab.py
Copy file name to clipboardExpand all lines: tests/functional/api/test_gitlab.py+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
81 | 81 | |
82 | 82 | |
83 | 83 | |
84 | | - |
| 84 | + |
85 | 85 | |
86 | 86 | |
87 | 87 | |
88 | 88 | |
89 | 89 | |
90 | | - |
| 90 | + |
91 | 91 | |
92 | 92 | |
93 | 93 | |
|
Collapse file
tests/functional/api/test_projects.py
Copy file name to clipboardExpand all lines: tests/functional/api/test_projects.py+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
244 | 244 | |
245 | 245 | |
246 | 246 | |
247 | | - |
| 247 | + |
248 | 248 | |
249 | 249 | |
250 | 250 | |
|
Collapse file
tests/functional/fixtures/docker-compose.yml
Copy file name to clipboardExpand all lines: tests/functional/fixtures/docker-compose.yml+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
14 | 14 | |
15 | 15 | |
16 | 16 | |
17 | | - |
| 17 | + |
18 | 18 | |
19 | 19 | |
20 | 20 | |
|
0 commit comments