mirror of
https://github.com/mozilla-services/syncstorage-rs.git
synced 2025-08-06 03:46:57 +02:00
Some checks failed
Glean probe-scraper / glean-probe-scraper (push) Has been cancelled
refactor: unified python imports for consistency in local, production, and test environments |
||
---|---|---|
.. | ||
loadtests | ||
__init__.py | ||
add_node.py | ||
allocate_user.py | ||
conftest.py | ||
count_users.py | ||
database.py | ||
poetry.lock | ||
process_account_events.py | ||
purge_old_records.py | ||
pyproject.toml | ||
pytest.ini | ||
README.md | ||
remove_node.py | ||
requirements.txt | ||
test_database.py | ||
test_process_account_events.py | ||
test_purge_old_records.py | ||
test_scripts.py | ||
unassign_node.py | ||
update_node.py | ||
util.py |
Summary of Files in tools/Tokenserver
File Name | Description |
---|---|
add_node.py |
Adds new node to the tokenserver's database, registering it for user allocation. |
allocate_user.py |
Script to allocate a specific user to a node. |
conftest.py |
Pytest configuration and fixtures for shared test setup. |
count_users.py |
Script to emit total-user-count metrics for exec dashboard. |
database.py |
Shared database utility queries and functions used by multiple scripts. |
process_account_events.py |
Script to process account-related events from an SQS queue. |
purge_old_records.py |
Script to purge user records that have been replaced. |
pytest.ini |
Configuration file for pytest, specifying options like test output format. |
remove_node.py |
Script to remove a node from the system. |
test_database.py |
Unit tests for database.py . |
test_process_account_events.py |
Tests for process_account_events.py , ensuring correct behavior for event handling. |
test_purge_old_records.py |
Tests for purge_old_records.py , validating cleanup operations. |
test_scripts.py |
Testing module to test the various scripts in this directory. |
unassign_node.py |
Removes a node from the system and clears any assignments to the named node. |
update_node.py |
Script to update node status in the db. |