Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
WindEnergyToolbox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
toolbox
WindEnergyToolbox
Commits
c837b585
Commit
c837b585
authored
6 years ago
by
David Verelst
Browse files
Options
Downloads
Patches
Plain Diff
give a little more information about which case of the test fails
parent
a3593b10
No related branches found
No related tags found
No related merge requests found
Pipeline
#4846
failed
6 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
wetb/prepost/tests/test_Simulations.py
+6
-3
6 additions, 3 deletions
wetb/prepost/tests/test_Simulations.py
with
6 additions
and
3 deletions
wetb/prepost/tests/test_Simulations.py
+
6
−
3
View file @
c837b585
...
...
@@ -78,9 +78,12 @@ class TestGenerateInputs(Template):
# the zipfiles are taken care of separately
ignore
=
[
'
remote_chnk_00000.zip
'
]
cmp
=
filecmp
.
dircmp
(
remote
,
ref
,
ignore
=
ignore
)
self
.
assertEqual
(
len
(
cmp
.
diff_files
),
0
,
cmp
.
diff_files
)
self
.
assertEqual
(
len
(
cmp
.
right_only
),
0
,
cmp
.
right_only
)
self
.
assertEqual
(
len
(
cmp
.
left_only
),
0
,
cmp
.
left_only
)
self
.
assertEqual
(
len
(
cmp
.
diff_files
),
0
,
"
{} {}
"
.
format
(
subdir
,
cmp
.
diff_files
))
self
.
assertEqual
(
len
(
cmp
.
right_only
),
0
,
"
{} {}
"
.
format
(
subdir
,
cmp
.
right_only
))
self
.
assertEqual
(
len
(
cmp
.
left_only
),
0
,
"
{} {}
"
.
format
(
subdir
,
cmp
.
left_only
))
# compare the zip files
for
fname
in
[
'
demo_dlc_remote.zip
'
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment