move user.py to web/auth, + fix Zope tests

This commit is contained in:
Helmut Merz 2026-10-28 11:30:24 +01:00
parent 87c2a68ef6
commit 5df3e3fa41
3 changed files with 5 additions and 1 deletions

View file

@ -4,6 +4,10 @@
from datetime import datetime from datetime import datetime
from scopes.storage import concept, folder, message, topic, tracking from scopes.storage import concept, folder, message, topic, tracking
from scopes.util import keywords as k
# predefine keywords used as domain, action, class head values in messages
k('session system')
def test_tracking(self, config): def test_tracking(self, config):

View file

@ -42,7 +42,7 @@ def test_auth(self, config):
logger.info('test_auth keys: %s', keys) logger.info('test_auth keys: %s', keys)
def test_user_data(self, config): def test_user_data(self, config):
from scopes.org import user from scopes.web.auth import user
u1 = user.User(login='tst9', email='tst9@example.com', u1 = user.User(login='tst9', email='tst9@example.com',
firstName='Test', lastName='User') firstName='Test', lastName='User')
xu1 = user.ExtUser(u1, idPrefix='test.') xu1 = user.ExtUser(u1, idPrefix='test.')