Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make createuser work for new installations and add basic coverage. #120

Closed
wants to merge 2 commits into from

Conversation

albu-diku
Copy link

@albu-diku albu-diku commented Sep 23, 2024

Allow user creation to provision the user_db_home directory as well as the file itself which is the situation after config generation is run to completion for a new installation.

Cover the very asic operation of createuser ensuring that a user db and lock file are correctly create upon a call to create a test user.

Depends on: #140
Depends on: #134

@albu-diku albu-diku force-pushed the fix/make-hash-py3 branch 2 times, most recently from deb99dd to 787f546 Compare October 7, 2024 09:12
@albu-diku albu-diku changed the base branch from fix/make-hash-py3 to edge October 7, 2024 09:57
@albu-diku albu-diku force-pushed the fix/createuser-py3 branch 2 times, most recently from 7cb4801 to 298dc07 Compare October 8, 2024 10:12
@albu-diku albu-diku force-pushed the fix/createuser-py3 branch 2 times, most recently from ebbcebd to 9720921 Compare November 2, 2024 10:57
@albu-diku albu-diku force-pushed the fix/createuser-py3 branch 2 times, most recently from ff2f5cb to 47ff7f3 Compare November 12, 2024 08:07
Import the experimental branch version of force_utf8 wholesale adding a
-py(2|3) suffix and expose the correct implementation dependent on PY2.

Include forcing InputException messages to a native string as is done in
experimental (also taken directly from that branch) which ensures the
exception message, which may be unicode, becomes a string everywhere.
Allow user creation to provision the directries necessary for user
creation to succeed in addition to the database file itself given the
state that exists after config generation is run to completion for a
new installation.

Cover the very basic operation of createuser ensuring that a user db
and lock file are correctly create upon a call to create a test user.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant