Skip to content

Commit 7ce79cb

Browse files
committed
Update test_gee_test.py
1 parent 2755653 commit 7ce79cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_gee_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def test_sio_success(self):
3030

3131
assert isinstance(result, dict)
3232
ser_result = GetTaskResultResponseSer(**result)
33-
assert ser_result.errorId == 12
33+
assert ser_result.errorId in (34, 12)
3434

3535
async def test_aio_success(self):
3636
instance = GeeTest(
@@ -45,7 +45,7 @@ async def test_aio_success(self):
4545

4646
assert isinstance(result, dict)
4747
ser_result = GetTaskResultResponseSer(**result)
48-
assert ser_result.errorId == 12
48+
assert ser_result.errorId in (34, 12)
4949

5050
@pytest.mark.parametrize("proxyType", ProxyTypeEnm)
5151
def test_proxy_args(self, proxyType: ProxyTypeEnm):

0 commit comments

Comments
 (0)