MCPcopy
hub / github.com/HelloZeroNet/ZeroNet / user

Function user

src/Test/conftest.py:219–224  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

217
218@pytest.fixture(scope="session")
219def user():
220 user = UserManager.user_manager.get()
221 if not user:
222 user = UserManager.user_manager.create()
223 user.sites = {} # Reset user data
224 return user
225
226
227@pytest.fixture(scope="session")

Callers

nothing calls this directly

Calls 2

createMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected