File tree 2 files changed +3
-3
lines changed 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- import random
1
+ import secrets
2
2
import string
3
3
4
4
from terminusdb_client .woqlclient .connectionConfig import ConnectionConfig
@@ -11,7 +11,7 @@ class TestConnectionConfig:
11
11
# Set of random string values that can as replacements for dummy id valuess
12
12
# i.e accountid,branchid,refid etc
13
13
id_value = "" .join (
14
- random .choice (string .ascii_uppercase + string .ascii_lowercase )
14
+ secrets .choice (string .ascii_uppercase + string .ascii_lowercase )
15
15
for _ in range (16 )
16
16
)
17
17
# to be review !!!!!
@@ -120,6 +120,7 @@ def test_repo_base(self):
120
120
default_base
121
121
== f"http://localhost:6363/pull/{ self .id_value } /{ self .id_value } /local"
122
122
)
123
+
123
124
self .connection_config .update (repo = self .id_value )
124
125
updated_base = self .connection_config .db_base ("pull" )
125
126
assert (
Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ class EmptyException(Exception):
28
28
If the result table of the query is empty
29
29
30
30
"""
31
- pass
32
31
33
32
34
33
def _is_empty (query ):
You can’t perform that action at this time.
0 commit comments