Add submodule to docker build #536
318 tests run, 305 passed, 0 skipped, 13 failed.
Annotations
Check failure on line 1 in TestAnonymousContactForm
github-actions / JUnit Test Report
TestAnonymousContactForm.test_post_flashes
assert []
Raw output
self = <tests.blueprints.test_bp_generic.TestAnonymousContactForm object at 0x7f6f647ea2a0>
client = <TestClient <Flask 'sipa'>>, endpoint = 'generic.contact'
template = 'anonymous_contact.html'
def test_post_flashes(self, client: TestClient, endpoint, template):
with client.renders_template(template), client.capture_flashes() as flashed:
client.assert_ok(endpoint, method="POST")
> assert flashed
E assert []
tests/blueprints/test_bp_generic.py:77: AssertionError
Check failure on line 1 in TestAnonymousContactForm
github-actions / JUnit Test Report
TestAnonymousContactForm.test_invalid_data_flashes[invalid_data0]
Failed: No messages flashed
Raw output
self = <tests.blueprints.test_bp_generic.TestAnonymousContactForm object at 0x7f6f647ea4e0>
client = <TestClient <Flask 'sipa'>>, endpoint = 'generic.contact'
template = 'anonymous_contact.html', invalid_data = {'email': ''}
def test_invalid_data_flashes(
self, client: TestClient, endpoint, template, invalid_data
):
> with client.renders_template(template), client.flashes_message(
".*", category="error"
):
tests/blueprints/test_bp_generic.py:83:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.12.2/x64/lib/python3.12/contextlib.py:144: in __exit__
next(self.gen)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <TestClient <Flask 'sipa'>>, match = '.*', category = 'error'
@contextlib.contextmanager
def flashes_message(self, match: str, category: str):
with self.capture_flashes() as recorded:
yield recorded
if not recorded:
> pytest.fail("No messages flashed")
E Failed: No messages flashed
tests/assertions.py:165: Failed
Check failure on line 1 in TestAnonymousContactForm
github-actions / JUnit Test Report
TestAnonymousContactForm.test_invalid_data_flashes[invalid_data1]
Failed: No messages flashed
Raw output
self = <tests.blueprints.test_bp_generic.TestAnonymousContactForm object at 0x7f6f647ea780>
client = <TestClient <Flask 'sipa'>>, endpoint = 'generic.contact'
template = 'anonymous_contact.html', invalid_data = {'email': 'foo@bar'}
def test_invalid_data_flashes(
self, client: TestClient, endpoint, template, invalid_data
):
> with client.renders_template(template), client.flashes_message(
".*", category="error"
):
tests/blueprints/test_bp_generic.py:83:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.12.2/x64/lib/python3.12/contextlib.py:144: in __exit__
next(self.gen)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <TestClient <Flask 'sipa'>>, match = '.*', category = 'error'
@contextlib.contextmanager
def flashes_message(self, match: str, category: str):
with self.capture_flashes() as recorded:
yield recorded
if not recorded:
> pytest.fail("No messages flashed")
E Failed: No messages flashed
tests/assertions.py:165: Failed
Check failure on line 1 in TestAnonymousContactForm
github-actions / JUnit Test Report
TestAnonymousContactForm.test_invalid_data_flashes[invalid_data2]
Failed: No messages flashed
Raw output
self = <tests.blueprints.test_bp_generic.TestAnonymousContactForm object at 0x7f6f647ea7b0>
client = <TestClient <Flask 'sipa'>>, endpoint = 'generic.contact'
template = 'anonymous_contact.html', invalid_data = {'name': ''}
def test_invalid_data_flashes(
self, client: TestClient, endpoint, template, invalid_data
):
> with client.renders_template(template), client.flashes_message(
".*", category="error"
):
tests/blueprints/test_bp_generic.py:83:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.12.2/x64/lib/python3.12/contextlib.py:144: in __exit__
next(self.gen)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <TestClient <Flask 'sipa'>>, match = '.*', category = 'error'
@contextlib.contextmanager
def flashes_message(self, match: str, category: str):
with self.capture_flashes() as recorded:
yield recorded
if not recorded:
> pytest.fail("No messages flashed")
E Failed: No messages flashed
tests/assertions.py:165: Failed
Check failure on line 1 in TestAnonymousContactForm
github-actions / JUnit Test Report
TestAnonymousContactForm.test_invalid_data_flashes[invalid_data3]
Failed: No messages flashed
Raw output
self = <tests.blueprints.test_bp_generic.TestAnonymousContactForm object at 0x7f6f647ea960>
client = <TestClient <Flask 'sipa'>>, endpoint = 'generic.contact'
template = 'anonymous_contact.html'
invalid_data = {'dormitory': 'not_localhost'}
def test_invalid_data_flashes(
self, client: TestClient, endpoint, template, invalid_data
):
> with client.renders_template(template), client.flashes_message(
".*", category="error"
):
tests/blueprints/test_bp_generic.py:83:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.12.2/x64/lib/python3.12/contextlib.py:144: in __exit__
next(self.gen)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <TestClient <Flask 'sipa'>>, match = '.*', category = 'error'
@contextlib.contextmanager
def flashes_message(self, match: str, category: str):
with self.capture_flashes() as recorded:
yield recorded
if not recorded:
> pytest.fail("No messages flashed")
E Failed: No messages flashed
tests/assertions.py:165: Failed
Check failure on line 1 in TestAnonymousContactForm
github-actions / JUnit Test Report
TestAnonymousContactForm.test_invalid_data_flashes[invalid_data4]
Failed: No messages flashed
Raw output
self = <tests.blueprints.test_bp_generic.TestAnonymousContactForm object at 0x7f6f647ea9f0>
client = <TestClient <Flask 'sipa'>>, endpoint = 'generic.contact'
template = 'anonymous_contact.html', invalid_data = {'subject': ''}
def test_invalid_data_flashes(
self, client: TestClient, endpoint, template, invalid_data
):
> with client.renders_template(template), client.flashes_message(
".*", category="error"
):
tests/blueprints/test_bp_generic.py:83:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.12.2/x64/lib/python3.12/contextlib.py:144: in __exit__
next(self.gen)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <TestClient <Flask 'sipa'>>, match = '.*', category = 'error'
@contextlib.contextmanager
def flashes_message(self, match: str, category: str):
with self.capture_flashes() as recorded:
yield recorded
if not recorded:
> pytest.fail("No messages flashed")
E Failed: No messages flashed
tests/assertions.py:165: Failed
Check failure on line 1 in TestAnonymousContactForm
github-actions / JUnit Test Report
TestAnonymousContactForm.test_invalid_data_flashes[invalid_data5]
Failed: No messages flashed
Raw output
self = <tests.blueprints.test_bp_generic.TestAnonymousContactForm object at 0x7f6f647eaa80>
client = <TestClient <Flask 'sipa'>>, endpoint = 'generic.contact'
template = 'anonymous_contact.html', invalid_data = {'message': ''}
def test_invalid_data_flashes(
self, client: TestClient, endpoint, template, invalid_data
):
> with client.renders_template(template), client.flashes_message(
".*", category="error"
):
tests/blueprints/test_bp_generic.py:83:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.12.2/x64/lib/python3.12/contextlib.py:144: in __exit__
next(self.gen)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <TestClient <Flask 'sipa'>>, match = '.*', category = 'error'
@contextlib.contextmanager
def flashes_message(self, match: str, category: str):
with self.capture_flashes() as recorded:
yield recorded
if not recorded:
> pytest.fail("No messages flashed")
E Failed: No messages flashed
tests/assertions.py:165: Failed
Check failure on line 1 in TestOfficialContactForm
github-actions / JUnit Test Report
TestOfficialContactForm.test_post_flashes
assert []
Raw output
self = <tests.blueprints.test_bp_generic.TestOfficialContactForm object at 0x7f6f647ebe90>
client = <TestClient <Flask 'sipa'>>, endpoint = 'generic.contact_official'
template = 'official_contact.html'
def test_post_flashes(self, client: TestClient, endpoint, template):
with client.renders_template(template), client.capture_flashes() as flashed:
client.assert_ok(endpoint, method="POST")
> assert flashed
E assert []
tests/blueprints/test_bp_generic.py:77: AssertionError
Check failure on line 1 in TestOfficialContactForm
github-actions / JUnit Test Report
TestOfficialContactForm.test_invalid_data_flashes[invalid_data0]
Failed: No messages flashed
Raw output
self = <tests.blueprints.test_bp_generic.TestOfficialContactForm object at 0x7f6f647eaf90>
client = <TestClient <Flask 'sipa'>>, endpoint = 'generic.contact_official'
template = 'official_contact.html', invalid_data = {'email': ''}
def test_invalid_data_flashes(
self, client: TestClient, endpoint, template, invalid_data
):
> with client.renders_template(template), client.flashes_message(
".*", category="error"
):
tests/blueprints/test_bp_generic.py:83:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.12.2/x64/lib/python3.12/contextlib.py:144: in __exit__
next(self.gen)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <TestClient <Flask 'sipa'>>, match = '.*', category = 'error'
@contextlib.contextmanager
def flashes_message(self, match: str, category: str):
with self.capture_flashes() as recorded:
yield recorded
if not recorded:
> pytest.fail("No messages flashed")
E Failed: No messages flashed
tests/assertions.py:165: Failed
Check failure on line 1 in TestOfficialContactForm
github-actions / JUnit Test Report
TestOfficialContactForm.test_invalid_data_flashes[invalid_data1]
Failed: No messages flashed
Raw output
self = <tests.blueprints.test_bp_generic.TestOfficialContactForm object at 0x7f6f647eb230>
client = <TestClient <Flask 'sipa'>>, endpoint = 'generic.contact_official'
template = 'official_contact.html', invalid_data = {'email': 'foo@bar'}
def test_invalid_data_flashes(
self, client: TestClient, endpoint, template, invalid_data
):
> with client.renders_template(template), client.flashes_message(
".*", category="error"
):
tests/blueprints/test_bp_generic.py:83:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.12.2/x64/lib/python3.12/contextlib.py:144: in __exit__
next(self.gen)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <TestClient <Flask 'sipa'>>, match = '.*', category = 'error'
@contextlib.contextmanager
def flashes_message(self, match: str, category: str):
with self.capture_flashes() as recorded:
yield recorded
if not recorded:
> pytest.fail("No messages flashed")
E Failed: No messages flashed
tests/assertions.py:165: Failed
Check failure on line 1 in TestOfficialContactForm
github-actions / JUnit Test Report
TestOfficialContactForm.test_invalid_data_flashes[invalid_data2]
Failed: No messages flashed
Raw output
self = <tests.blueprints.test_bp_generic.TestOfficialContactForm object at 0x7f6f647eb260>
client = <TestClient <Flask 'sipa'>>, endpoint = 'generic.contact_official'
template = 'official_contact.html', invalid_data = {'name': ''}
def test_invalid_data_flashes(
self, client: TestClient, endpoint, template, invalid_data
):
> with client.renders_template(template), client.flashes_message(
".*", category="error"
):
tests/blueprints/test_bp_generic.py:83:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.12.2/x64/lib/python3.12/contextlib.py:144: in __exit__
next(self.gen)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <TestClient <Flask 'sipa'>>, match = '.*', category = 'error'
@contextlib.contextmanager
def flashes_message(self, match: str, category: str):
with self.capture_flashes() as recorded:
yield recorded
if not recorded:
> pytest.fail("No messages flashed")
E Failed: No messages flashed
tests/assertions.py:165: Failed
Check failure on line 1 in TestOfficialContactForm
github-actions / JUnit Test Report
TestOfficialContactForm.test_invalid_data_flashes[invalid_data3]
Failed: No messages flashed
Raw output
self = <tests.blueprints.test_bp_generic.TestOfficialContactForm object at 0x7f6f647eb440>
client = <TestClient <Flask 'sipa'>>, endpoint = 'generic.contact_official'
template = 'official_contact.html', invalid_data = {'subject': ''}
def test_invalid_data_flashes(
self, client: TestClient, endpoint, template, invalid_data
):
> with client.renders_template(template), client.flashes_message(
".*", category="error"
):
tests/blueprints/test_bp_generic.py:83:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.12.2/x64/lib/python3.12/contextlib.py:144: in __exit__
next(self.gen)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <TestClient <Flask 'sipa'>>, match = '.*', category = 'error'
@contextlib.contextmanager
def flashes_message(self, match: str, category: str):
with self.capture_flashes() as recorded:
yield recorded
if not recorded:
> pytest.fail("No messages flashed")
E Failed: No messages flashed
tests/assertions.py:165: Failed
Check failure on line 1 in TestOfficialContactForm
github-actions / JUnit Test Report
TestOfficialContactForm.test_invalid_data_flashes[invalid_data4]
Failed: No messages flashed
Raw output
self = <tests.blueprints.test_bp_generic.TestOfficialContactForm object at 0x7f6f647eb560>
client = <TestClient <Flask 'sipa'>>, endpoint = 'generic.contact_official'
template = 'official_contact.html', invalid_data = {'message': ''}
def test_invalid_data_flashes(
self, client: TestClient, endpoint, template, invalid_data
):
> with client.renders_template(template), client.flashes_message(
".*", category="error"
):
tests/blueprints/test_bp_generic.py:83:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/opt/hostedtoolcache/Python/3.12.2/x64/lib/python3.12/contextlib.py:144: in __exit__
next(self.gen)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <TestClient <Flask 'sipa'>>, match = '.*', category = 'error'
@contextlib.contextmanager
def flashes_message(self, match: str, category: str):
with self.capture_flashes() as recorded:
yield recorded
if not recorded:
> pytest.fail("No messages flashed")
E Failed: No messages flashed
tests/assertions.py:165: Failed