def test_timeout_over_180(self): cfile = create_config(("timeout=300",)) conf = Config(cfile).load() with pytest.raises(ConfigException): conf.test_timeout()
def test_timeout_over_180(self): cfile = create_config(("timeout=300", )) conf = Config(cfile).load() with pytest.raises(ConfigException): conf.test_timeout()
def test_str_timeout(self): cfile = create_config(("timeout=xcbsfbsrwgrwgsgrsgsdgrwty4y4fsg",)) conf = Config(cfile).load() with pytest.raises(ConfigException): conf.test_timeout()
def test_str_timeout(self): cfile = create_config(("timeout=xcbsfbsrwgrwgsgrsgsdgrwty4y4fsg", )) conf = Config(cfile).load() with pytest.raises(ConfigException): conf.test_timeout()