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