131:    def test_seeded_account_shape(self, api, db):
132-        aid = _seed_account(db, user_id_of(api))
133-        d = api.get("/gmail/accounts").json()
134-        assert d["count"] == 1
135-        a = d["accounts"][0]
136-        assert {"id", "email", "status", "sending_method", "daily_limit",
137-                "campaign_limit", "sends_today", "has_refresh_token",
138-                "authorized"} <= set(a)
139-        assert a["id"] == aid and a["authorized"] is True
140-        assert a["has_refresh_token"] is True
141-
142-    def test_patch_updates_limits_and_method(self, api, db):
143-        aid = _seed_account(db, user_id_of(api), method="api")
144-        r = api.patch(f"/gmail/accounts/{aid}", headers=H(api),
145-                      json={"sending_method": "smtp", "daily_limit": 50,
146-                            "campaign_limit": 25})
147-        assert r.status_code == 200, r.text
148-        d = r.json()
149-        assert d["sending_method"] == "smtp"
150-        assert d["daily_limit"] == 50 and d["campaign_limit"] == 25
151-
