diff options
| author | John L. Villalovos <john@sodarock.com> | 2021-04-17 14:06:36 -0700 |
|---|---|---|
| committer | John L. Villalovos <john@sodarock.com> | 2021-04-18 07:04:40 -0700 |
| commit | 83670a49a3affd2465f8fcbcc3c26141592c1ccd (patch) | |
| tree | f8cde9582e27784963acbab72c37f25dfe780436 /gitlab/tests/test_gitlab_http_methods.py | |
| parent | 380f227a1ecffd5e22ae7aefed95af3b5d830994 (diff) | |
| download | gitlab-83670a49a3affd2465f8fcbcc3c26141592c1ccd.tar.gz | |
chore: fix E712 errors reported by flake8
E712: Comparison to true should be 'if cond is true:' or 'if cond:'
https://www.flake8rules.com/rules/E712.html
Diffstat (limited to 'gitlab/tests/test_gitlab_http_methods.py')
| -rw-r--r-- | gitlab/tests/test_gitlab_http_methods.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/tests/test_gitlab_http_methods.py b/gitlab/tests/test_gitlab_http_methods.py index 253ad16..7d9e61e 100644 --- a/gitlab/tests/test_gitlab_http_methods.py +++ b/gitlab/tests/test_gitlab_http_methods.py @@ -219,7 +219,7 @@ def test_delete_request(gl): with HTTMock(resp_cont): result = gl.http_delete("/projects") assert isinstance(result, requests.Response) - assert result.json() == True + assert result.json() is True def test_delete_request_404(gl): |
