예제 #1
0
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)
예제 #3
0
def test_cannot_define_settings_once_locked():
    with pytest.raises(InvalidState):
        settings._define_setting("hi", "there", 4)
예제 #4
0
def test_cannot_define_settings_once_locked():
    with pytest.raises(InvalidState):
        settings._define_setting('hi', 'there', 4)