Test that we can dynamically update the global settings object.
()
| 14 | |
| 15 | |
| 16 | def test_update_global_settings(): |
| 17 | """ |
| 18 | Test that we can dynamically update the global settings object. |
| 19 | """ |
| 20 | set_global(Settings(debug=True)) |
| 21 | assert settings.debug is True |
| 22 | |
| 23 | set_global(Settings(debug=False)) |
| 24 | assert settings.debug is False |
| 25 | |
| 26 | |
| 27 | # Shared list to collect exceptions |
nothing calls this directly
no test coverage detected
searching dependent graphs…