Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: fix issue if only run test_gitlab.py func test#2255

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nejch merged 2 commits intomainfromjlvillal/noop
Aug 25, 2022
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletiontests/functional/api/test_gitlab.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -126,6 +126,7 @@ def test_hooks(gl):


def test_namespaces(gl, get_all_kwargs):
gl.auth()
current_user = gl.user.username

namespaces = gl.namespaces.list(**get_all_kwargs)
Expand DownExpand Up@@ -239,7 +240,11 @@ def test_list_all_false_nowarning(gl, recwarn):
def test_list_all_true_nowarning(gl, get_all_kwargs, recwarn):
"""Using `get_all=True` will disable the warning"""
items = gl.gitlabciymls.list(**get_all_kwargs)
assert not recwarn
for warn in recwarn:
if issubclass(warn.category, UserWarning):
# Our warning has a link to the docs in it, make sure we don't have
# that.
assert "python-gitlab.readthedocs.io" not in str(warn.message)
assert len(items) > 20


Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp