Files
gns3-server/tests/api/routes/controller
YueGuobin a56fce4c36 fix: do not monkeypatch attributes on Starlette State in tests
pytest 9.2 reads the old value of a monkeypatched attribute from the
instance __dict__. Starlette State keeps attributes in an internal
dict, so the old value looks unset and the teardown deletes the
attribute for the rest of the test session. The first test that
touches app.state.exiting passes but removes it, and every later
monkeypatch.setattr on it fails with AttributeError.

Use plain assignments instead.
2026-11-04 09:22:15 +08:00
..
2026-10-02 12:43:26 +03:00
2026-09-27 15:55:10 +03:00
2026-10-02 12:43:26 +03:00
2026-10-17 11:43:36 +03:00