aboutsummaryrefslogtreecommitdiff
path: root/tests/__init__.py
diff options
context:
space:
mode:
authorMax Nanis2026-02-21 02:15:52 -0500
committerMax Nanis2026-02-21 02:15:52 -0500
commit67ab724561e4ceb8fe8fb4031de277168f7d9724 (patch)
tree4d85619973491e7239f0e83dc5cdd85618f0f248 /tests/__init__.py
parentaf8057d58ff152f511f5161a7626b0fffa9d661a (diff)
downloadamt-jb-67ab724561e4ceb8fe8fb4031de277168f7d9724.tar.gz
amt-jb-67ab724561e4ceb8fe8fb4031de277168f7d9724.zip
More pytest conf, some views, and defining more attrs on the settings config
Diffstat (limited to 'tests/__init__.py')
-rw-r--r--tests/__init__.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/__init__.py b/tests/__init__.py
new file mode 100644
index 0000000..469eda2
--- /dev/null
+++ b/tests/__init__.py
@@ -0,0 +1,7 @@
+import random
+import string
+
+
+def generate_amt_id(length=30):
+ chars = string.ascii_uppercase + string.digits
+ return "".join(random.choices(chars, k=length))