Skip to content

[pre-commit.ci] pre-commit autoupdate #442

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #442

GitHub Actions / JUnit Test Report failed Oct 6, 2025 in 0s

236 tests run, 199 passed, 36 skipped, 1 failed.

Annotations

Check failure on line 1 in TestJoin

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestJoin.test_negative

assert ['\n<html><he...dy></html>\n'] == ['User Not Authenticated']
  
  At index 0 diff: '\n<html><head>\n<meta http-equiv="content-type" content="text/html;charset=utf-8">\n<title>503 Server Error</title>\n</head>\n<body text=#000000 bgcolor=#ffffff>\n<h1>Error: Server Error</h1>\n<h2>The service you requested is not available yet.<p>Please try again in 30 seconds.</h2>\n<h2></h2>\n</body></html>\n' != 'User Not Authenticated'
  
  Full diff:
    [
  -     'User Not Authenticated',
  +     '\n'
  +     '<html><head>\n'
  +     '<meta http-equiv="content-type" content="text/html;charset=utf-8">\n'
  +     '<title>503 Server Error</title>\n'
  +     '</head>\n'
  +     '<body text=#000000 bgcolor=#ffffff>\n'
  +     '<h1>Error: Server Error</h1>\n'
  +     '<h2>The service you requested is not available yet.<p>Please try again in '
  +     '30 seconds.</h2>\n'
  +     '<h2></h2>\n'
  +     '</body></html>\n',
    ]
Raw output
self = <test_join.TestJoin object at 0x7f67c152db10>
provider = <Provider:[Join]>

    def test_negative(self, provider):
        data = {"message": "foo", "apikey": "bar"}
        rsp = provider.notify(**data)
        with pytest.raises(NotificationError) as e:
            rsp.raise_on_errors()
    
>       assert e.value.errors == ["User Not Authenticated"]
E       assert ['\n<html><he...dy></html>\n'] == ['User Not Authenticated']
E         
E         At index 0 diff: '\n<html><head>\n<meta http-equiv="content-type" content="text/html;charset=utf-8">\n<title>503 Server Error</title>\n</head>\n<body text=#000000 bgcolor=#ffffff>\n<h1>Error: Server Error</h1>\n<h2>The service you requested is not available yet.<p>Please try again in 30 seconds.</h2>\n<h2></h2>\n</body></html>\n' != 'User Not Authenticated'
E         
E         Full diff:
E           [
E         -     'User Not Authenticated',
E         +     '\n'
E         +     '<html><head>\n'
E         +     '<meta http-equiv="content-type" content="text/html;charset=utf-8">\n'
E         +     '<title>503 Server Error</title>\n'
E         +     '</head>\n'
E         +     '<body text=#000000 bgcolor=#ffffff>\n'
E         +     '<h1>Error: Server Error</h1>\n'
E         +     '<h2>The service you requested is not available yet.<p>Please try again in '
E         +     '30 seconds.</h2>\n'
E         +     '<h2></h2>\n'
E         +     '</body></html>\n',
E           ]

tests/providers/test_join.py:39: AssertionError