Ejemplo n.º 1
0
 def test_timeout_over_180(self):
     cfile = create_config(("timeout=300",))
     conf = Config(cfile).load()
     with pytest.raises(ConfigException):
         conf.test_timeout()
Ejemplo n.º 2
0
 def test_timeout_over_180(self):
     cfile = create_config(("timeout=300", ))
     conf = Config(cfile).load()
     with pytest.raises(ConfigException):
         conf.test_timeout()
Ejemplo n.º 3
0
 def test_str_timeout(self):
     cfile = create_config(("timeout=xcbsfbsrwgrwgsgrsgsdgrwty4y4fsg",))
     conf = Config(cfile).load()
     with pytest.raises(ConfigException):
         conf.test_timeout()
Ejemplo n.º 4
0
 def test_str_timeout(self):
     cfile = create_config(("timeout=xcbsfbsrwgrwgsgrsgsdgrwty4y4fsg", ))
     conf = Config(cfile).load()
     with pytest.raises(ConfigException):
         conf.test_timeout()