Improve view functions in facilities
blueprint
#948
1244 tests run, 709 passed, 1 skipped, 534 failed.
Annotations
Check failure on line 1 in tests/frontend/test_facilities.py
github-actions / JUnit Test Report
test_facilities.test_root_redirect
failed on setup with "AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'"
Raw output
tests/conftest.py:86: in module_session
set_scoped_session(s)
pycroft/model/session.py:51: in set_scoped_session
object.__setattr__(Session, '_LocalProxy__local', lambda: scoped_session)
E AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'
Check failure on line 1 in TestSitesOverview
github-actions / JUnit Test Report
TestSitesOverview.test_sites_overview_get
failed on setup with "AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'"
Raw output
tests/conftest.py:86: in module_session
set_scoped_session(s)
pycroft/model/session.py:51: in set_scoped_session
object.__setattr__(Session, '_LocalProxy__local', lambda: scoped_session)
E AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'
Check failure on line 1 in TestSitesOverview
github-actions / JUnit Test Report
TestSitesOverview.test_sites_overview_json
failed on setup with "AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'"
Raw output
tests/conftest.py:86: in module_session
set_scoped_session(s)
pycroft/model/session.py:51: in set_scoped_session
object.__setattr__(Session, '_LocalProxy__local', lambda: scoped_session)
E AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'
Check failure on line 1 in TestSite
github-actions / JUnit Test Report
TestSite.test_get_site
failed on setup with "AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'"
Raw output
tests/conftest.py:86: in module_session
set_scoped_session(s)
pycroft/model/session.py:51: in set_scoped_session
object.__setattr__(Session, '_LocalProxy__local', lambda: scoped_session)
E AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'
Check failure on line 1 in TestSite
github-actions / JUnit Test Report
TestSite.test_get_nonexistent_site
failed on setup with "AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'"
Raw output
tests/conftest.py:86: in module_session
set_scoped_session(s)
pycroft/model/session.py:51: in set_scoped_session
object.__setattr__(Session, '_LocalProxy__local', lambda: scoped_session)
E AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'
Check failure on line 1 in TestBuilding
github-actions / JUnit Test Report
TestBuilding.test_list_buildings
failed on setup with "AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'"
Raw output
tests/conftest.py:86: in module_session
set_scoped_session(s)
pycroft/model/session.py:51: in set_scoped_session
object.__setattr__(Session, '_LocalProxy__local', lambda: scoped_session)
E AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'
Check failure on line 1 in TestBuilding
github-actions / JUnit Test Report
TestBuilding.test_show_building
failed on setup with "AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'"
Raw output
tests/conftest.py:86: in module_session
set_scoped_session(s)
pycroft/model/session.py:51: in set_scoped_session
object.__setattr__(Session, '_LocalProxy__local', lambda: scoped_session)
E AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'
Check failure on line 1 in TestBuilding
github-actions / JUnit Test Report
TestBuilding.test_show_nonexistent_building
failed on setup with "AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'"
Raw output
tests/conftest.py:86: in module_session
set_scoped_session(s)
pycroft/model/session.py:51: in set_scoped_session
object.__setattr__(Session, '_LocalProxy__local', lambda: scoped_session)
E AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'
Check failure on line 1 in TestBuilding
github-actions / JUnit Test Report
TestBuilding.test_show_room
failed on setup with "AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'"
Raw output
tests/conftest.py:86: in module_session
set_scoped_session(s)
pycroft/model/session.py:51: in set_scoped_session
object.__setattr__(Session, '_LocalProxy__local', lambda: scoped_session)
E AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'
Check failure on line 1 in TestBuilding
github-actions / JUnit Test Report
TestBuilding.test_show_nonexistent_room
failed on setup with "AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'"
Raw output
tests/conftest.py:86: in module_session
set_scoped_session(s)
pycroft/model/session.py:51: in set_scoped_session
object.__setattr__(Session, '_LocalProxy__local', lambda: scoped_session)
E AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'
Check failure on line 1 in TestBuilding
github-actions / JUnit Test Report
TestBuilding.test_post_room_logs
failed on setup with "AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'"
Raw output
tests/conftest.py:86: in module_session
set_scoped_session(s)
pycroft/model/session.py:51: in set_scoped_session
object.__setattr__(Session, '_LocalProxy__local', lambda: scoped_session)
E AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'
Check failure on line 1 in TestBuilding
github-actions / JUnit Test Report
TestBuilding.test_room_logs_json
failed on setup with "AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'"
Raw output
tests/conftest.py:86: in module_session
set_scoped_session(s)
pycroft/model/session.py:51: in set_scoped_session
object.__setattr__(Session, '_LocalProxy__local', lambda: scoped_session)
E AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'
Check failure on line 1 in TestBuilding
github-actions / JUnit Test Report
TestBuilding.test_building_levels
failed on setup with "AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'"
Raw output
tests/conftest.py:86: in module_session
set_scoped_session(s)
pycroft/model/session.py:51: in set_scoped_session
object.__setattr__(Session, '_LocalProxy__local', lambda: scoped_session)
E AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'
Check failure on line 1 in TestBuilding
github-actions / JUnit Test Report
TestBuilding.test_nonexistent_building_levels
failed on setup with "AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'"
Raw output
tests/conftest.py:86: in module_session
set_scoped_session(s)
pycroft/model/session.py:51: in set_scoped_session
object.__setattr__(Session, '_LocalProxy__local', lambda: scoped_session)
E AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'
Check failure on line 1 in TestBuilding
github-actions / JUnit Test Report
TestBuilding.test_building_levels_json
failed on setup with "AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'"
Raw output
tests/conftest.py:86: in module_session
set_scoped_session(s)
pycroft/model/session.py:51: in set_scoped_session
object.__setattr__(Session, '_LocalProxy__local', lambda: scoped_session)
E AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'
Check failure on line 1 in TestBuilding
github-actions / JUnit Test Report
TestBuilding.test_building_rooms_json
failed on setup with "AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'"
Raw output
tests/conftest.py:86: in module_session
set_scoped_session(s)
pycroft/model/session.py:51: in set_scoped_session
object.__setattr__(Session, '_LocalProxy__local', lambda: scoped_session)
E AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'
Check failure on line 1 in TestBuilding
github-actions / JUnit Test Report
TestBuilding.test_building_level_rooms
failed on setup with "AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'"
Raw output
tests/conftest.py:86: in module_session
set_scoped_session(s)
pycroft/model/session.py:51: in set_scoped_session
object.__setattr__(Session, '_LocalProxy__local', lambda: scoped_session)
E AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'
Check failure on line 1 in TestOvercrowdedRooms
github-actions / JUnit Test Report
TestOvercrowdedRooms.test_overcrowded_rooms
failed on setup with "AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'"
Raw output
tests/conftest.py:86: in module_session
set_scoped_session(s)
pycroft/model/session.py:51: in set_scoped_session
object.__setattr__(Session, '_LocalProxy__local', lambda: scoped_session)
E AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'
Check failure on line 1 in TestOvercrowdedRooms
github-actions / JUnit Test Report
TestOvercrowdedRooms.test_overcrowded_rooms_json
failed on setup with "AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'"
Raw output
tests/conftest.py:86: in module_session
set_scoped_session(s)
pycroft/model/session.py:51: in set_scoped_session
object.__setattr__(Session, '_LocalProxy__local', lambda: scoped_session)
E AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'
Check failure on line 1 in TestOvercrowdedRooms
github-actions / JUnit Test Report
TestOvercrowdedRooms.test_per_building_overcrowded_rooms
failed on setup with "AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'"
Raw output
tests/conftest.py:86: in module_session
set_scoped_session(s)
pycroft/model/session.py:51: in set_scoped_session
object.__setattr__(Session, '_LocalProxy__local', lambda: scoped_session)
E AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'
Check failure on line 1 in TestOvercrowdedRooms
github-actions / JUnit Test Report
TestOvercrowdedRooms.test_per_building_overcrowded_json
failed on setup with "AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'"
Raw output
tests/conftest.py:86: in module_session
set_scoped_session(s)
pycroft/model/session.py:51: in set_scoped_session
object.__setattr__(Session, '_LocalProxy__local', lambda: scoped_session)
E AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'
Check failure on line 1 in TestRoomCreate
github-actions / JUnit Test Report
TestRoomCreate.test_get_no_building
failed on setup with "AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'"
Raw output
tests/conftest.py:86: in module_session
set_scoped_session(s)
pycroft/model/session.py:51: in set_scoped_session
object.__setattr__(Session, '_LocalProxy__local', lambda: scoped_session)
E AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'
Check failure on line 1 in TestRoomCreate
github-actions / JUnit Test Report
TestRoomCreate.test_get_wrong_id
failed on setup with "AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'"
Raw output
tests/conftest.py:86: in module_session
set_scoped_session(s)
pycroft/model/session.py:51: in set_scoped_session
object.__setattr__(Session, '_LocalProxy__local', lambda: scoped_session)
E AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'
Check failure on line 1 in TestRoomCreate
github-actions / JUnit Test Report
TestRoomCreate.test_get_correct_building_id
failed on setup with "AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'"
Raw output
tests/conftest.py:86: in module_session
set_scoped_session(s)
pycroft/model/session.py:51: in set_scoped_session
object.__setattr__(Session, '_LocalProxy__local', lambda: scoped_session)
E AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'
Check failure on line 1 in TestRoomCreate
github-actions / JUnit Test Report
TestRoomCreate.test_post_no_data
failed on setup with "AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'"
Raw output
tests/conftest.py:86: in module_session
set_scoped_session(s)
pycroft/model/session.py:51: in set_scoped_session
object.__setattr__(Session, '_LocalProxy__local', lambda: scoped_session)
E AttributeError: 'LocalProxy' object has no attribute '_LocalProxy__local'