Skip to content

Fix link to fee regulations in registration #532

Fix link to fee regulations in registration

Fix link to fee regulations in registration #532

GitHub Actions / JUnit Test Report failed Mar 22, 2024 in 0s

318 tests run, 305 passed, 0 skipped, 13 failed.

Annotations

Check failure on line 1 in TestAnonymousContactForm

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestAnonymousContactForm.test_post_flashes

assert []
Raw output
self = <tests.blueprints.test_bp_generic.TestAnonymousContactForm object at 0x7f438de08a70>
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

See this annotation in the file changed.

@github-actions 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 0x7f438de08d10>
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

See this annotation in the file changed.

@github-actions 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 0x7f438de08f80>
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

See this annotation in the file changed.

@github-actions 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 0x7f438de08fb0>
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

See this annotation in the file changed.

@github-actions 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 0x7f438de09190>
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

See this annotation in the file changed.

@github-actions 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 0x7f438de09250>
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

See this annotation in the file changed.

@github-actions 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 0x7f438de092e0>
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

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestOfficialContactForm.test_post_flashes

assert []
Raw output
self = <tests.blueprints.test_bp_generic.TestOfficialContactForm object at 0x7f438de0a660>
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

See this annotation in the file changed.

@github-actions 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 0x7f438de096a0>
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

See this annotation in the file changed.

@github-actions 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 0x7f438de09910>
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

See this annotation in the file changed.

@github-actions 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 0x7f438de09970>
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

See this annotation in the file changed.

@github-actions 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 0x7f438de09af0>
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

See this annotation in the file changed.

@github-actions 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 0x7f438de09bb0>
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