Bind stove API keys to configured client IP
This commit is contained in:
@@ -35,7 +35,7 @@ def env(tmp_path, monkeypatch):
|
||||
|
||||
@pytest.fixture()
|
||||
def key_id(env):
|
||||
return stove_keys.create_key(name="k")["id"]
|
||||
return stove_keys.create_key(name="k", allowed_ip="127.0.0.1")["id"]
|
||||
|
||||
|
||||
def _iso(ts):
|
||||
|
||||
Reference in New Issue
Block a user