-
Notifications
You must be signed in to change notification settings - Fork 38
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
Sequester realm export (memory only implementation) #9342
base: master
Are you sure you want to change the base?
Conversation
ec6ceb2
to
e5ea163
Compare
e5ea163
to
7d741e5
Compare
# indexes (e.g. when a transaction is rolled back). | ||
# This should be enough to detect typical improper use of the primary key as | ||
# a list offset. | ||
return enumerate(all_vlob_atoms, start=200) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a specific reason to start at 200 here and at 100 in simulate_postgresql_block_table above ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The start value is totally arbitrary since its goal is only to detect typical improper use of the primary key as a list offset.
Having different arbitrary offsets is convenient to help debugging since it makes values more unique.
assert response.status_code == 404, response.content | ||
|
||
|
||
# async def test_ok( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Todo ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch !
I've added tests to sequester administration APIs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this file needed ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this is the python way of declaring the sequester_export
folder is a module
…ate/administration_organization_sequester_service_revoke/administration_organization_sequester_service_update_config
…uester create/revoke
8479d36
to
519499b
Compare
depends on #6644