aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/tests/test_bundle_pepper.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/tests/test_bundle_pepper.py')
-rw-r--r--packages/meshbay-hub/tests/test_bundle_pepper.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/packages/meshbay-hub/tests/test_bundle_pepper.py b/packages/meshbay-hub/tests/test_bundle_pepper.py
index e7b126f..e99799f 100644
--- a/packages/meshbay-hub/tests/test_bundle_pepper.py
+++ b/packages/meshbay-hub/tests/test_bundle_pepper.py
@@ -105,18 +105,6 @@ async def test_an_open_session_may_ask_and_a_node_may_not(client):
@pytest.mark.asyncio
-async def test_a_passphrase_change_carries_it(client):
- """The new passphrase makes a new bundle key, and the client does not keep
- the pepper to re-seal under it."""
- await _register(client, "pepper_chg")
- login = await _login(client, "pepper_chg")
- r = await client.post("/v1/users/password", headers=_bearer(login["access_token"]),
- json={"old_auth_key": KEY, "new_auth_key": "n" * 44})
- assert r.status_code == 200, r.text
- assert r.json()["bundle_pepper"] == login["bundle_pepper"]
-
-
-@pytest.mark.asyncio
async def test_it_is_sealed_at_rest_and_bound_to_its_account(client, db_session):
await _register(client, "pepper_rest")
login = await _login(client, "pepper_rest")