Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LI - Lawful Interception
Trial
Commits
d1ecf9d8
Commit
d1ecf9d8
authored
Oct 22, 2021
by
canterburym
Browse files
Updating tests
parent
4f429611
Pipeline
#9419
passed with stage
in 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
testing/check_xsd.py
View file @
d1ecf9d8
...
...
@@ -120,19 +120,11 @@ if __name__ == '__main__':
logging
.
info
(
f
">Including instance doc
{
g
}
"
)
includeInstanceDocList
.
append
(
g
)
else
:
<<<<<<<
HEAD
logging
.
info
(
f
">Including
{
p
.
absolute
()
}
"
)
if
str
(
p
.
absolute
()).
endswith
(
'.xml'
):
includeInstanceDocList
.
append
(
str
(
p
.
absolute
()))
elif
str
(
p
.
absolute
()).
endswith
(
'.xsd'
):
includeFileList
.
append
(
str
(
p
.
absolute
()))
=======
logging
.
info
(
f
"Including
{
p
.
absolute
()
}
"
)
if
str
(
p
.
absolute
()).
endswith
(
'.xml'
):
includeInstanceDocList
.
append
(
p
.
absolute
())
elif
str
(
p
.
absolute
()).
endswith
(
'.xml'
):
includeFileList
.
append
(
p
.
absolute
())
>>>>>>>
f3f09f7c3888b660d639f273b2164823ac0460cc
else
:
logging
.
warning
(
f
'Ignoring file
{
p
.
absolute
()
}
'
)
...
...
@@ -193,4 +185,3 @@ if __name__ == '__main__':
print
(
f
"
{
instanceDoc
}
:
{
str
(
ex
)
}
"
)
print
(
f
"
{
errorCount
}
instance doc errors detected"
)
exit
(
errorCount
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment