def test_cannot_define_settings_once_locked(): with pytest.raises(InvalidState): settings.define_setting('hi', 'there', 4)
def test_cannot_define_settings_once_locked(): with pytest.raises(InvalidState): settings.define_setting("hi", "there", 4)