We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4922d09 commit a005386Copy full SHA for a005386
tests/unit_tests/test_utils.py
@@ -0,0 +1,10 @@
1
+from async_substrate_interface.utils import get_next_id
2
+from string import ascii_letters
3
+
4
5
+def test_get_next_id():
6
+ next_id = get_next_id()
7
+ assert next_id[0] in ascii_letters
8
+ assert next_id[1] in ascii_letters
9
+ assert 0 < int(next_id[2:]) < 999
10
+ assert 3 <= len(next_id) <= 5
0 commit comments