-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtesting.py
More file actions
42 lines (42 loc) · 853 Bytes
/
testing.py
File metadata and controls
42 lines (42 loc) · 853 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# import random
# import string
# import pandas
# import time
#
# data_base = {}
#
# def policy_creator():
# letter_list = list(string.ascii_uppercase)
# digits_list = list(string.digits)
#
# policy_letters = []
# policy_digits = []
#
# for i in range(3):
# policy_letters.append(random.choice(letter_list))
#
# for j in range(8):
# policy_digits.append(random.choice(digits_list))
#
# policy_start = ''.join(policy_letters)
# policy_end = ''.join(policy_digits)
#
# full_policy = policy_start + '-' + policy_end
#
# return full_policy
#
#
# def db_appending():
# new_policy = policy_creator()
# data_base[(len(data_base))] = new_policy
# return
#
# time_1 = time.time()
# for i in range(12):
# db_appending()
#
# print(data_base)
#
# time_2 = time.time()
#
# print(time_2-time_1)