Skip to content

Commit

Permalink
test base
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminfisk committed Dec 2, 2023
1 parent fde6b43 commit 29a2a46
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions KubeSec-master/fuzz.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ def fuzzValues():
input_list = ['test', 1, {2,3}, (4,5)]
for input in input_list:
flag = False
print(f'Input: {input}\n')
# print(f'Input: {input}\n')

try:
parser.checkIfValidHelm(input)
except Exception as e:
print(f'Input for checkIfValidHelm was invalid.\n Error: {e}\n')
flag = True
try:
parser.readYAMLAsStr(input)
except Exception as e:
print(f'Input for checkIfValidK8SYaml was invalid.\n Error: {e}\n')
flag = True
# try:
# parser.readYAMLAsStr(input)
# except Exception as e:
# print(f'Input for checkIfValidK8SYaml was invalid.\n Error: {e}\n')
# flag = True
try:
parser.checkIfWeirdYAML(input)
except Exception as e:
Expand Down

0 comments on commit 29a2a46

Please sign in to comment.