예제 #1
0
def test_config_get_settings_for():
    conf = Config()
    assert_equal(type(conf.get_settings_for("database")), dict)
예제 #2
0
def test_config_get_settings_for_none():
    conf = Config()
    setting = conf.get_settings_for("weird_stuff")
    assert_equal(setting, None)
예제 #3
0
def test_config_get_settings():
    conf = Config()
    assert_equal(type(conf.get_settings()), dict)