def test_invalid_user(self): user = time.monotonic() cfile = create_config(("user={}".format(user), )) conf = Config(cfile).load() with pytest.raises(ConfigException): conf.test_user()
def test_invalid_user(self): user = time.monotonic() cfile = create_config(("user={}".format(user),)) conf = Config(cfile).load() with pytest.raises(ConfigException): conf.test_user()
def test_invalid_user(self): cfile = create_config(('user=xcbsfbsrwgrwgsgrsgsdgrwty4y4fsg',)) conf = Config(cfile).load() with pytest.raises(ConfigException): conf.test_user()