Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Tools-comparison
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
Seed_detection
Tools-comparison
Commits
a7fd7b6d
Commit
a7fd7b6d
authored
3 years ago
by
BOLTEAU Mathieu
Browse files
Options
Downloads
Plain Diff
Merge branch '18-job-failed-1266894' into 'master'
Resolve "Job Failed #1266894" Closes
#18
See merge request
!7
parents
1fb220cb
f1cd9ba3
No related branches found
No related tags found
1 merge request
!7
Resolve "Job Failed #1266894"
Pipeline
#281332
passed
3 years ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test_netseed.py
+6
-3
6 additions, 3 deletions
tests/test_netseed.py
with
6 additions
and
3 deletions
tests/test_netseed.py
+
6
−
3
View file @
a7fd7b6d
...
...
@@ -6,13 +6,16 @@ import argparse
def
test_create_netseed_input
():
expected
=
(
x
for
x
in
[
'
a,b
'
,
'
c,d
'
,
'
d,c
'
,
'
e,c
'
,
'
e,f
'
])
produced
=
create_netseed_input
(
'
tests/data/netseed_input.xml
'
)
assert
li
st
(
expected
)
==
li
st
(
produced
)
assert
s
e
t
(
expected
)
==
s
e
t
(
produced
)
def
test_run_netseed
():
expected
=
'
e
\n
'
expected
=
[
'
a
'
,
'
e
'
]
produced
,
_
,
_
=
run_netseed
(
'
tests/data/netseed_input.xml
'
,
'
/tmp/
'
,
'
../NetSeedPerl/
'
,
sep
=
'
,
'
)
assert
produced
==
expected
produced
=
produced
.
split
(
'
\n
'
)
produced
=
list
(
filter
(
None
,
produced
))
assert
set
(
produced
)
==
set
(
expected
)
def
test_make_reaction
():
# TODO
pass
\ No newline at end of file
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