Commit 16bda20
committed
fix: remove decode() on error_message string
The integration tests failed because a test called 'decode()' on a
string-type variable - the GitLabException class handles byte-to-string
conversion already in its __init__. This commit removes the call to
'decode()' in the test.
```
Traceback (most recent call last):
File "./tools/python_test_v4.py", line 801, in <module>
assert 'Retry later' in error_message.decode()
AttributeError: 'str' object has no attribute 'decode'
```1 parent 7a3724f commit 16bda20
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
798 | 798 | | |
799 | 799 | | |
800 | 800 | | |
801 | | - | |
| 801 | + | |
802 | 802 | | |
803 | 803 | | |
804 | 804 | | |
| |||
0 commit comments